1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! A Telegram Bot API client library
#![recursion_limit = "256"]
#![warn(missing_docs)]

mod api;
mod handler;
mod request;

/// Utilities to receive updates using long poll
pub mod longpoll;

/// Methods available in the Bot API
pub mod methods;

/// Types available in the Bot API
pub mod types;

/// Services to receive updates via webhook
pub mod webhook;

pub use self::{
    api::{Api, ApiError, Config, DownloadFileError, ExecuteError, ParseProxyError},
    handler::UpdateHandler,
};

pub use async_trait::async_trait;
pub use mime;