Crate telegram_bot [−] [src]
This crate helps writing bots for the messenger Telegram. See readme for details.
Reexports
pub use connector::*; |
pub use prelude::*; |
pub use types::*; |
Modules
connector |
IO backend. |
prelude |
Telegram bot prelude. |
types |
Telegram bot types. |
Macros
reply_markup |
Create a reply markup. |
Structs
Api |
Main type for sending requests to the Telegram bot API. |
Config |
Configuration for an |
Error |
The Error type. |
TelegramFuture |
Represent a future that resolves into Telegram API response. |
UpdatesStream |
This type represents stream of Telegram API updates and uses long polling method under the hood. |
Enums
ErrorKind |
The kind of an error. |