Module teloxide::prelude [−][src]
Commonly used items.
Re-exports
pub use crate::dispatching::DispatcherHandlerRx; |
pub use crate::error_handlers::LoggingErrorHandler; |
pub use crate::error_handlers::OnError; |
pub use crate::respond; |
pub use teloxide_core::prelude::*; |
Structs
AutoSend | Send requests automatically. |
CallbackQuery | This object represents an incoming callback query from a callback button in an inline keyboard. |
ChatMemberUpdated | |
ChosenInlineResult | Represents a result of an inline query that was chosen by the user and sent to their chat partner. |
DialogueDispatcher | A dispatcher of dialogues. |
DialogueWithCx | A context of a |
Dispatcher | One dispatcher to rule them all. |
InlineQuery | This object represents an incoming inline query. |
Message | This object represents a message. |
Poll | This object contains information about a poll. |
PollAnswer | |
PreCheckoutQuery | This object contains information about an incoming pre-checkout query. |
ShippingQuery | This object contains information about an incoming shipping query. |
UnboundedReceiver | Receive values from the associated |
UpdateWithCx | A |
Enums
DialogueStage | Continue or terminate a dialogue. |
Traits
DispatcherHandlerRxExt | An extension trait to be used with |
GetChatId | Something that has a chat ID. |
StreamExt | An extension trait for |
Transition | Represents a transition function of a dialogue FSM. |
UpState | Constructs a structure from another structure and a field. |
Functions
exit | Exits a dialogue. |
next | Returns a new dialogue state. |
Type Definitions
TransitionIn | An input passed into a FSM (sub)transition function. |
TransitionOut | A type returned from a FSM (sub)transition function. |
Attribute Macros
teloxide | macros The docs is below. |
Derive Macros
Transition | The docs is below. |