Optional Readonlybusiness_The bot was connected to or disconnected from a business account, or a user edited an existing connection with the bot.
Optional Readonlybusiness_New message from a connected business account.
Optional Readonlycallback_New incoming callback query.
Optional Readonlychannel_New incoming channel post of any kind - text, photo, sticker, etc.
Optional Readonlychat_A chat boost was added or changed.
Optional Readonlychat_A request to join the chat has been sent.
Optional Readonlychat_A chat member's status was updated in a chat.
Optional Readonlychosen_The result of an inline query that was chosen by a user and sent to their chat partner.
Optional Readonlydeleted_Messages were deleted from a connected business account.
Optional Readonlyedited_New version of a message from a connected business account.
Optional Readonlyedited_New version of a channel post that is known to the bot and was edited.
Optional Readonlyedited_New version of a message that is known to the bot and was edited.
Optional Readonlyguest_New guest message.
Optional Readonlyinline_New incoming inline query.
Optional Readonlymanaged_A new bot was created to be managed by the bot, or the token or owner of a managed bot was changed.
Optional ReadonlymessageNew incoming message of any kind - text, photo, sticker, etc.
Optional Readonlymessage_A reaction to a message was changed by a user.
Optional Readonlymessage_Reactions to a message with anonymous reactions were changed.
Optional Readonlymy_The bot's chat member status was updated in a chat.
Optional ReadonlypollNew poll state. Bots receive only updates about stopped polls and polls, which are sent by the bot.
Optional Readonlypoll_A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.
Optional Readonlypre_New incoming pre-checkout query. Contains full information about checkout.
Optional Readonlypurchased_A user purchased paid media with Telegram Stars.
Optional Readonlyremoved_A boost was removed from a chat.
Optional Readonlyshipping_New incoming shipping query. Only for invoices with flexible prices.
Optional Readonlystopped_A user asked the bot to stop the generation of a message (Bot API 10.3+).
Optional ReadonlysubscriptionA user payment subscription toward the bot has changed.
Readonlyupdate_The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially.
Compatibility alias for Update.effectiveChat.
Compatibility alias for Update.effectiveMessage.
Compatibility alias for Update.effectiveSender.
Compatibility alias for Update.effectiveUser.
The chat that this update belongs to.
The message contained in this update.
The user that sent the message or triggered the update, resolved across update types.
Wrapper for Telegram Update objects with convenience getters.
Encapsulates the raw update delivered by Telegram and exposes lazy resolution getters for the active user, chat, message, and sender.
Example
See
Telegram Bot API: Update