teloxide/src/prelude.rs

23 lines
606 B
Rust
Raw Normal View History

2020-01-29 19:11:52 +01:00
//! Commonly used items.
pub use crate::{
2020-05-24 10:19:46 +02:00
dispatch,
2020-01-29 23:54:40 +01:00
dispatching::{
2020-02-04 16:38:25 +01:00
dialogue::{
2020-02-18 23:54:41 +01:00
exit, next, DialogueDispatcher, DialogueDispatcherHandlerCx,
2020-05-24 10:19:46 +02:00
DialogueStage, DialogueWrapper, GetChatId,
2020-02-02 17:32:27 +01:00
},
2020-02-18 23:54:41 +01:00
Dispatcher, DispatcherHandlerCx, DispatcherHandlerRx,
2020-02-19 10:53:54 +01:00
DispatcherHandlerRxExt,
2020-01-29 23:54:40 +01:00
},
2020-02-18 23:54:41 +01:00
error_handlers::{LoggingErrorHandler, OnError},
2020-01-29 23:54:40 +01:00
requests::{Request, ResponseResult},
2020-02-13 09:55:46 +01:00
types::{Message, Update},
2020-05-24 13:08:40 +02:00
up, wrap_dialogue, 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 frunk::Coproduct;
2020-02-17 23:19:16 +01:00
pub use futures::StreamExt;