[−][src]Module teloxide::prelude
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::requests::Request; |
pub use crate::requests::ResponseResult; |
Structs
Bot | A requests sender. |
DialogueDispatcher | A dispatcher of dialogues. |
DialogueWithCx | A context of a |
Dispatcher | One dispatcher to rule them all. |
Message | This object represents a message. |
UnboundedReceiver | Receive values from the associated |
Update | This object represents an incoming update. |
UpdateWithCx | A |
Enums
DialogueStage | Continue or terminate a dialogue. |
RequestError | An error caused by sending a request to Telegram. |
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. |
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. |