Skip to main content

Module update

Module update 

Source
Expand description

High-level update types delivered by [crate::Client::next_update].

Every update the Telegram server pushes is classified into one of the variants of Update. The raw constructor ID and bytes are always available via Update::Raw for anything not yet wrapped.

Structs§

CallbackQuery
A user pressed an inline keyboard button on a bot message.
IncomingMessage
A new or edited message.
InlineQuery
A user is typing an inline query (@bot something).
MessageDeletion
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.