teloxide/src/prelude.rs

24 lines
579 B
Rust
Raw Normal View History

2020-01-29 19:11:52 +01:00
//! Commonly used items.
pub use crate::{
2020-02-18 23:54:41 +01:00
error_handlers::{LoggingErrorHandler, OnError},
2021-03-05 22:18:03 +01:00
respond,
};
pub use crate::dispatching::{
2022-03-24 12:25:42 +01:00
dialogue::Dialogue, Dispatcher, HandlerExt as _, MessageFilterExt as _, UpdateFilterExt as _,
};
pub use teloxide_core::types::{
CallbackQuery, ChatMemberUpdated, ChosenInlineResult, InlineQuery, Message, Poll, PollAnswer,
2022-03-24 12:25:42 +01:00
PreCheckoutQuery, ShippingQuery, Update,
2020-01-29 19:11:52 +01:00
};
2020-02-17 23:19:16 +01:00
#[cfg(feature = "auto-send")]
pub use crate::adaptors::AutoSend;
#[doc(no_inline)]
2021-03-15 04:22:10 +01:00
pub use teloxide_core::prelude::*;
2022-03-24 12:25:42 +01:00
pub use dptree::{self, prelude::*};