mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 15:01:45 +01:00
33 lines
1.1 KiB
Rust
33 lines
1.1 KiB
Rust
//! A full-featured framework that empowers you to easily build [Telegram bots]
|
|
//! using the [`async`/`.await`] syntax in [Rust]. It handles all the difficult
|
|
//! stuff so you can focus only on your business logic.
|
|
//!
|
|
//! For a high-level overview, see [our GitHub repository](https://github.com/teloxide/teloxide).
|
|
//!
|
|
//! [Telegram bots]: https://telegram.org/blog/bot-revolution
|
|
//! [`async`/`.await`]: https://rust-lang.github.io/async-book/01_getting_started/01_chapter.html
|
|
//! [Rust]: https://www.rust-lang.org/
|
|
|
|
// https://github.com/teloxide/teloxide/raw/master/logo.svg doesn't work in html_logo_url, I don't know why.
|
|
#![doc(
|
|
html_logo_url = "https://github.com/teloxide/teloxide/raw/master/ICON.png",
|
|
html_favicon_url = "https://github.com/teloxide/teloxide/raw/master/ICON.png"
|
|
)]
|
|
#![allow(clippy::match_bool)]
|
|
|
|
pub use bot::Bot;
|
|
pub use errors::{ApiErrorKind, DownloadError, RequestError};
|
|
|
|
mod errors;
|
|
mod net;
|
|
|
|
mod bot;
|
|
pub mod dispatching;
|
|
pub mod error_handlers;
|
|
mod logging;
|
|
pub mod prelude;
|
|
pub mod requests;
|
|
pub mod types;
|
|
pub mod utils;
|
|
|
|
extern crate teloxide_macros;
|