2020-01-30 00:11:52 +06:00
|
|
|
//! Commonly used items.
|
|
|
|
|
|
|
|
pub use crate::{
|
2020-01-30 04:54:40 +06:00
|
|
|
dispatching::{
|
2020-02-04 21:38:25 +06:00
|
|
|
dialogue::{
|
2020-07-26 23:47:02 +06:00
|
|
|
exit, next, DialogueDispatcher, DialogueStage, DialogueWithCx, GetChatId, Transition,
|
|
|
|
TransitionIn, TransitionOut,
|
2020-02-02 22:32:27 +06:00
|
|
|
},
|
2020-07-30 19:25:56 +06:00
|
|
|
Dispatcher, DispatcherHandlerRx, DispatcherHandlerRxExt, UpdateWithCx,
|
2020-01-30 04:54:40 +06:00
|
|
|
},
|
2020-02-19 04:54:41 +06:00
|
|
|
error_handlers::{LoggingErrorHandler, OnError},
|
2021-03-06 03:18:03 +06:00
|
|
|
respond,
|
|
|
|
};
|
|
|
|
|
2021-03-21 21:43:19 +03:00
|
|
|
#[cfg_attr(all(docsrs, feature = "nightly"), doc(cfg(feature = "macros")))]
|
2021-03-21 18:34:23 +06:00
|
|
|
#[cfg(feature = "macros")]
|
|
|
|
pub use crate::teloxide;
|
|
|
|
|
|
|
|
pub use teloxide_core::types::{
|
|
|
|
CallbackQuery, ChatMemberUpdated, ChosenInlineResult, InlineQuery, Message, Poll, PollAnswer,
|
|
|
|
PreCheckoutQuery, ShippingQuery,
|
2020-01-30 00:11:52 +06:00
|
|
|
};
|
2020-02-18 04:19:16 +06:00
|
|
|
|
2021-03-21 18:34:23 +06:00
|
|
|
#[cfg(feature = "auto-send")]
|
|
|
|
pub use crate::adaptors::AutoSend;
|
|
|
|
|
2021-03-21 21:43:19 +03:00
|
|
|
#[doc(no_inline)]
|
2021-03-15 09:22:10 +06:00
|
|
|
pub use teloxide_core::prelude::*;
|
|
|
|
|
2020-07-26 03:10:48 +06:00
|
|
|
#[cfg(feature = "frunk")]
|
2021-03-21 21:43:19 +03:00
|
|
|
#[cfg_attr(all(docsrs, feature = "nightly"), doc(cfg(feature = "frunk")))]
|
2020-07-28 23:48:46 +06:00
|
|
|
pub use crate::utils::UpState;
|
2020-07-26 03:10:48 +06:00
|
|
|
|
2020-05-24 18:39:41 +06:00
|
|
|
pub use tokio::sync::mpsc::UnboundedReceiver;
|
2020-02-18 04:19:16 +06:00
|
|
|
|
|
|
|
pub use futures::StreamExt;
|