mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-09 11:43:57 +01:00
40 lines
1.1 KiB
Rust
40 lines
1.1 KiB
Rust
//! Commonly used items.
|
|
|
|
#![deprecated(note = "Use dispatching2 instead")]
|
|
#![allow(deprecated)]
|
|
|
|
pub use crate::{
|
|
error_handlers::{LoggingErrorHandler, OnError},
|
|
respond,
|
|
};
|
|
|
|
pub use crate::dispatching::{
|
|
dialogue::{
|
|
exit, next, DialogueDispatcher, DialogueStage, DialogueWithCx, GetChatId, Transition,
|
|
TransitionIn, TransitionOut,
|
|
},
|
|
Dispatcher, DispatcherHandlerRx, DispatcherHandlerRxExt, UpdateWithCx,
|
|
};
|
|
|
|
#[cfg_attr(all(docsrs, feature = "nightly"), doc(cfg(feature = "macros")))]
|
|
#[cfg(feature = "macros")]
|
|
pub use crate::teloxide;
|
|
|
|
pub use teloxide_core::types::{
|
|
CallbackQuery, ChatMemberUpdated, ChosenInlineResult, InlineQuery, Message, Poll, PollAnswer,
|
|
PreCheckoutQuery, ShippingQuery,
|
|
};
|
|
|
|
#[cfg(feature = "auto-send")]
|
|
pub use crate::adaptors::AutoSend;
|
|
|
|
#[doc(no_inline)]
|
|
pub use teloxide_core::prelude::*;
|
|
|
|
#[cfg(feature = "frunk")]
|
|
#[cfg_attr(all(docsrs, feature = "nightly"), doc(cfg(feature = "frunk")))]
|
|
pub use crate::utils::UpState;
|
|
|
|
pub use tokio::sync::mpsc::UnboundedReceiver;
|
|
|
|
pub use futures::StreamExt;
|