1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! The api module provides the [`API`] trait and [`APIClient`], providing
//! methods to perform requests to the telegram API
//!
//! [`API`]: trait.API.html
//! [`APIClient`]: struct.APIClient.html
mod api;
mod api_client;
mod endpoints;
mod response;
pub mod types;
pub use api::API;
pub use api_client::APIClient;
pub use endpoints::APIEndpoint;
pub use response::Response;