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-07-26 19:47:02 +02:00
|
|
|
exit, next, DialogueDispatcher, DialogueStage, DialogueWithCx, GetChatId, Transition,
|
|
|
|
TransitionIn, TransitionOut,
|
2020-02-02 17:32:27 +01:00
|
|
|
},
|
2020-05-26 11:01:57 +02:00
|
|
|
Dispatcher, DispatcherHandlerRx, DispatcherHandlerRxExt, UpdateWithCx,
|
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-07-26 00:34:11 +02:00
|
|
|
Bot, RequestError,
|
2020-01-29 19:11:52 +01:00
|
|
|
};
|
2020-02-17 23:19:16 +01:00
|
|
|
|
2020-07-25 23:10:48 +02:00
|
|
|
#[cfg(feature = "frunk")]
|
2020-07-28 19:48:46 +02:00
|
|
|
pub use crate::utils::UpState;
|
2020-07-25 23:10:48 +02:00
|
|
|
|
2020-05-24 14:39:41 +02:00
|
|
|
pub use tokio::sync::mpsc::UnboundedReceiver;
|
2020-02-17 23:19:16 +01:00
|
|
|
|
|
|
|
pub use futures::StreamExt;
|