Expand description
High-level update types delivered by crate::Client::stream_updates.
Every update the Telegram server pushes is classified into one of the
variants of Update. The raw constructor ID is always available
via Update::Raw for anything not yet wrapped.
Structs§
- Callback
Query - A user pressed an inline keyboard button on a bot message.
- Incoming
Message - A new or edited message.
- Inline
Query - A user is typing an inline query (
@bot something). - Inline
Send - A user chose an inline result and sent it.
- Message
Deletion - One or more messages were deleted.
- RawUpdate
- A TL update that has no dedicated high-level variant yet.
Enums§
- Update
- A high-level event received from Telegram.
Functions§
- from_
single_ update_ pub - Convert a single
tl::enums::Updateinto aVec<Update>.