teloxide/src/prelude.rs

20 lines
491 B
Rust
Raw Normal View History

2020-01-29 19:11:52 +01:00
//! Commonly used items.
pub use crate::{
2020-01-29 23:54:40 +01:00
dispatching::{
2020-02-04 16:38:25 +01:00
dialogue::{
2020-02-17 23:19:16 +01:00
exit, next, DialogueDispatcher, DialogueDispatcherHandlerCtx,
DialogueStage, GetChatId,
2020-02-02 17:32:27 +01:00
},
2020-02-18 01:19:50 +01:00
Dispatcher, DispatcherHandlerCtx, DispatcherHandlerRx, ErrorHandler,
LoggingErrorHandler,
2020-01-29 23:54:40 +01:00
},
requests::{Request, ResponseResult},
2020-02-13 09:55:46 +01:00
types::{Message, Update},
2020-01-29 23:54:40 +01:00
Bot, RequestError,
2020-01-29 19:11:52 +01:00
};
2020-02-17 23:19:16 +01:00
pub use tokio::sync::mpsc::UnboundedReceiver;
pub use futures::StreamExt;