teloxide/src/prelude.rs

23 lines
616 B
Rust
Raw Normal View History

2020-01-30 00:11:52 +06:00
//! Commonly used items.
pub use crate::{
2020-05-24 14:19:46 +06:00
dispatch,
2020-01-30 04:54:40 +06:00
dispatching::{
2020-02-04 21:38:25 +06:00
dialogue::{
2020-02-19 04:54:41 +06:00
exit, next, DialogueDispatcher, DialogueDispatcherHandlerCx,
2020-05-24 14:19:46 +06:00
DialogueStage, DialogueWrapper, GetChatId,
2020-02-02 22:32:27 +06:00
},
2020-02-19 04:54:41 +06:00
Dispatcher, DispatcherHandlerCx, DispatcherHandlerRx,
2020-02-19 15:53:54 +06:00
DispatcherHandlerRxExt,
2020-01-30 04:54:40 +06:00
},
2020-02-19 04:54:41 +06:00
error_handlers::{LoggingErrorHandler, OnError},
2020-01-30 04:54:40 +06:00
requests::{Request, ResponseResult},
2020-02-13 14:55:46 +06:00
types::{Message, Update},
2020-05-24 17:08:40 +06:00
up, wrap_dialogue, Bot, RequestError,
2020-01-30 00:11:52 +06:00
};
2020-02-18 04:19:16 +06:00
2020-05-24 22:28:08 +06:00
pub use frunk::{Coprod, Coproduct};
pub use tokio::sync::mpsc::UnboundedReceiver;
2020-02-18 04:19:16 +06:00
pub use futures::StreamExt;