Update #

Object contains info on events occurred.

Layer 223

updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update;
updateMessageID#4e90bfd6 id:int random_id:long = Update;
updateDeleteMessages#a20db0e5 messages:Vector<int> pts:int pts_count:int = Update;
updateUserTyping#2a17bf5c flags:# user_id:long top_msg_id:flags.0?int action:SendMessageAction = Update;
updateChatUserTyping#83487af0 chat_id:long from_id:Peer action:SendMessageAction = Update;
updateChatParticipants#7761198 participants:ChatParticipants = Update;
updateUserStatus#e5bdf8de user_id:long status:UserStatus = Update;
updateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector<Username> = Update;
updateNewAuthorization#8951abef flags:# unconfirmed:flags.0?true hash:long date:flags.0?int device:flags.0?string location:flags.0?string = Update;
updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update;
updateEncryptedChatTyping#1710f156 chat_id:int = Update;
updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update;
updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update;
updateChatParticipantAdd#3dda5451 chat_id:long user_id:long inviter_id:long date:int version:int = Update;
updateChatParticipantDelete#e32f3d77 chat_id:long user_id:long version:int = Update;
updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;
updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;
updateServiceNotification#ebe46819 flags:# popup:flags.0?true invert_media:flags.2?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;
updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;
updateUserPhone#5492a13 user_id:long phone:string = Update;
updateReadHistoryInbox#9e84bc99 flags:# folder_id:flags.0?int peer:Peer top_msg_id:flags.1?int max_id:int still_unread_count:int pts:int pts_count:int = Update;
updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update;
updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update;
updateReadMessagesContents#f8227181 flags:# messages:Vector<int> pts:int pts_count:int date:flags.0?int = Update;
updateChannelTooLong#108d941f flags:# channel_id:long pts:flags.0?int = Update;
updateChannel#635b4c09 channel_id:long = Update;
updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update;
updateReadChannelInbox#922e6e10 flags:# folder_id:flags.0?int channel_id:long max_id:int still_unread_count:int pts:int = Update;
updateDeleteChannelMessages#c32d5b12 channel_id:long messages:Vector<int> pts:int pts_count:int = Update;
updateChannelMessageViews#f226ac08 channel_id:long id:int views:int = Update;
updateChatParticipantAdmin#d7ca61a2 chat_id:long user_id:long is_admin:Bool version:int = Update;
updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;
updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true emojis:flags.1?true order:Vector<long> = Update;
updateStickerSets#31c24808 flags:# masks:flags.0?true emojis:flags.1?true = Update;
updateSavedGifs#9375341e = Update;
updateBotInlineQuery#496f379c flags:# query_id:long user_id:long query:string geo:flags.0?GeoPoint peer_type:flags.1?InlineQueryPeerType offset:string = Update;
updateBotInlineSend#12f12a07 flags:# user_id:long query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update;
updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update;
updateBotCallbackQuery#b9cfc48d flags:# query_id:long user_id:long peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;
updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update;
updateInlineBotCallbackQuery#691e9052 flags:# query_id:long user_id:long msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;
updateReadChannelOutbox#b75f99a9 channel_id:long max_id:int = Update;
updateDraftMessage#edfc111e flags:# peer:Peer top_msg_id:flags.0?int saved_peer_id:flags.1?Peer draft:DraftMessage = Update;
updateReadFeaturedStickers#571d2742 = Update;
updateRecentStickers#9a422c20 = Update;
updateConfig#a229dd06 = Update;
updatePtsChanged#3354678f = Update;
updateChannelWebPage#2f2ba99f channel_id:long webpage:WebPage pts:int pts_count:int = Update;
updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update;
updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector<DialogPeer> = Update;
updateBotWebhookJSON#8317c0c3 data:DataJSON = Update;
updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update;
updateBotShippingQuery#b5aefd7d query_id:long user_id:long payload:bytes shipping_address:PostAddress = Update;
updateBotPrecheckoutQuery#8caa9a96 flags:# query_id:long user_id:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update;
updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;
updateLangPackTooLong#46560264 lang_code:string = Update;
updateLangPack#56022f4d difference:LangPackDifference = Update;
updateFavedStickers#e511996d = Update;
updateChannelReadMessagesContents#25f324f7 flags:# channel_id:long top_msg_id:flags.0?int saved_peer_id:flags.1?Peer messages:Vector<int> = Update;
updateContactsReset#7084a7be = Update;
updateChannelAvailableMessages#b23fc698 channel_id:long available_min_id:int = Update;
updateDialogUnreadMark#b658f23e flags:# unread:flags.0?true peer:DialogPeer saved_peer_id:flags.1?Peer = Update;
updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update;
updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update;
updateFolderPeers#19360dc0 folder_peers:Vector<FolderPeer> pts:int pts_count:int = Update;
updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update;
updatePeerLocated#b4afcfb0 peers:Vector<PeerLocated> = Update;
updateNewScheduledMessage#39a51dfb message:Message = Update;
updateDeleteScheduledMessages#f2a71983 flags:# peer:Peer messages:Vector<int> sent_messages:flags.0?Vector<int> = Update;
updateTheme#8216fba3 theme:Theme = Update;
updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update;
updateLoginToken#564fe691 = Update;
updateMessagePollVote#24f40e77 poll_id:long peer:Peer options:Vector<bytes> qts:int = Update;
updateDialogFilter#26ffde7d flags:# id:int filter:flags.0?DialogFilter = Update;
updateDialogFilterOrder#a5d72105 order:Vector<int> = Update;
updateDialogFilters#3504914f = Update;
updatePhoneCallSignalingData#2661bf09 phone_call_id:long data:bytes = Update;
updateChannelMessageForwards#d29a27f4 channel_id:long id:int forwards:int = Update;
updateReadChannelDiscussionInbox#d6b19546 flags:# channel_id:long top_msg_id:int read_max_id:int broadcast_id:flags.0?long broadcast_post:flags.0?int = Update;
updateReadChannelDiscussionOutbox#695c9e7c channel_id:long top_msg_id:int read_max_id:int = Update;
updatePeerBlocked#ebe07752 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true peer_id:Peer = Update;
updateChannelUserTyping#8c88c923 flags:# channel_id:long top_msg_id:flags.0?int from_id:Peer action:SendMessageAction = Update;
updatePinnedMessages#ed85eab5 flags:# pinned:flags.0?true peer:Peer messages:Vector<int> pts:int pts_count:int = Update;
updatePinnedChannelMessages#5bb98608 flags:# pinned:flags.0?true channel_id:long messages:Vector<int> pts:int pts_count:int = Update;
updateChat#f89a6a4e chat_id:long = Update;
updateGroupCallParticipants#f2ebdb4e call:InputGroupCall participants:Vector<GroupCallParticipant> version:int = Update;
updateGroupCall#9d2216e0 flags:# live_story:flags.2?true peer:flags.1?Peer call:GroupCall = Update;
updatePeerHistoryTTL#bb9bb9a5 flags:# peer:Peer ttl_period:flags.0?int = Update;
updateChatParticipant#d087663a flags:# chat_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChatParticipant new_participant:flags.1?ChatParticipant invite:flags.2?ExportedChatInvite qts:int = Update;
updateChannelParticipant#985d3abb flags:# via_chatlist:flags.3?true channel_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChannelParticipant new_participant:flags.1?ChannelParticipant invite:flags.2?ExportedChatInvite qts:int = Update;
updateBotStopped#c4870a49 user_id:long date:int stopped:Bool qts:int = Update;
updateGroupCallConnection#b783982 flags:# presentation:flags.0?true params:DataJSON = Update;
updateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector<BotCommand> = Update;
updatePendingJoinRequests#7063c3db peer:Peer requests_pending:int recent_requesters:Vector<long> = Update;
updateBotChatInviteRequester#11dfa986 peer:Peer date:int user_id:long about:string invite:ExportedChatInvite qts:int = Update;
updateMessageReactions#1e297bfa flags:# peer:Peer msg_id:int top_msg_id:flags.0?int saved_peer_id:flags.1?Peer reactions:MessageReactions = Update;
updateAttachMenuBots#17b7a20b = Update;
updateWebViewResultSent#1592b79d query_id:long = Update;
updateBotMenuButton#14b85813 bot_id:long button:BotMenuButton = Update;
updateSavedRingtones#74d8be99 = Update;
updateTranscribedAudio#84cd5a flags:# pending:flags.0?true peer:Peer msg_id:int transcription_id:long text:string = Update;
updateReadFeaturedEmojiStickers#fb4c496c = Update;
updateUserEmojiStatus#28373599 user_id:long emoji_status:EmojiStatus = Update;
updateRecentEmojiStatuses#30f443db = Update;
updateRecentReactions#6f7863f4 = Update;
updateMoveStickerSetToTop#86fccf85 flags:# masks:flags.0?true emojis:flags.1?true stickerset:long = Update;
updateMessageExtendedMedia#d5a41724 peer:Peer msg_id:int extended_media:Vector<MessageExtendedMedia> = Update;
updateUser#20529438 user_id:long = Update;
updateAutoSaveSettings#ec05b097 = Update;
updateStory#75b3b798 peer:Peer story:StoryItem = Update;
updateReadStories#f74e932b peer:Peer max_id:int = Update;
updateStoryID#1bf335b9 id:int random_id:long = Update;
updateStoriesStealthMode#2c084dc1 stealth_mode:StoriesStealthMode = Update;
updateSentStoryReaction#7d627683 peer:Peer story_id:int reaction:Reaction = Update;
updateBotChatBoost#904dd49c peer:Peer boost:Boost qts:int = Update;
updateChannelViewForumAsMessages#7b68920 channel_id:long enabled:Bool = Update;
updatePeerWallpaper#ae3f101d flags:# wallpaper_overridden:flags.1?true peer:Peer wallpaper:flags.0?WallPaper = Update;
updateBotMessageReaction#ac21d3ce peer:Peer msg_id:int date:int actor:Peer old_reactions:Vector<Reaction> new_reactions:Vector<Reaction> qts:int = Update;
updateBotMessageReactions#9cb7759 peer:Peer msg_id:int date:int reactions:Vector<ReactionCount> qts:int = Update;
updateSavedDialogPinned#aeaf9e74 flags:# pinned:flags.0?true peer:DialogPeer = Update;
updatePinnedSavedDialogs#686c85a6 flags:# order:flags.0?Vector<DialogPeer> = Update;
updateSavedReactionTags#39c67432 = Update;
updateSmsJob#f16269d4 job_id:string = Update;
updateQuickReplies#f9470ab2 quick_replies:Vector<QuickReply> = Update;
updateNewQuickReply#f53da717 quick_reply:QuickReply = Update;
updateDeleteQuickReply#53e6f1ec shortcut_id:int = Update;
updateQuickReplyMessage#3e050d0f message:Message = Update;
updateDeleteQuickReplyMessages#566fe7cd shortcut_id:int messages:Vector<int> = Update;
updateBotBusinessConnect#8ae5c97a connection:BotBusinessConnection qts:int = Update;
updateBotNewBusinessMessage#9ddb347c flags:# connection_id:string message:Message reply_to_message:flags.0?Message qts:int = Update;
updateBotEditBusinessMessage#7df587c flags:# connection_id:string message:Message reply_to_message:flags.0?Message qts:int = Update;
updateBotDeleteBusinessMessage#a02a982e connection_id:string peer:Peer messages:Vector<int> qts:int = Update;
updateNewStoryReaction#1824e40b story_id:int peer:Peer reaction:Reaction = Update;
updateStarsBalance#4e80a379 balance:StarsAmount = Update;
updateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long connection_id:string message:Message reply_to_message:flags.2?Message chat_instance:long data:flags.0?bytes = Update;
updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
updatePaidReactionPrivacy#8b725fce private:PaidReactionPrivacy = Update;
updateSentPhoneCode#504aa18f sent_code:auth.SentCode = Update;
updateGroupCallChainBlocks#a477288f call:InputGroupCall sub_chain_id:int blocks:Vector<bytes> next_offset:int = Update;
updateReadMonoForumInbox#77b0e372 channel_id:long saved_peer_id:Peer read_max_id:int = Update;
updateReadMonoForumOutbox#a4a79376 channel_id:long saved_peer_id:Peer read_max_id:int = Update;
updateMonoForumNoPaidException#9f812b08 flags:# exception:flags.0?true channel_id:long saved_peer_id:Peer = Update;
updateGroupCallMessage#d8326f0d call:InputGroupCall message:GroupCallMessage = Update;
updateGroupCallEncryptedMessage#c957a766 call:InputGroupCall from_id:Peer encrypted_message:bytes = Update;
updatePinnedForumTopic#683b2c52 flags:# pinned:flags.0?true peer:Peer topic_id:int = Update;
updatePinnedForumTopics#def143d0 flags:# peer:Peer order:flags.0?Vector<int> = Update;
updateDeleteGroupCallMessages#3e85e92c call:InputGroupCall messages:Vector<int> = Update;
updateStarGiftAuctionState#48e246c2 gift_id:long state:StarGiftAuctionState = Update;
updateStarGiftAuctionUserState#dc58f31e gift_id:long user_state:StarGiftAuctionUserState = Update;
updateEmojiGameInfo#fb9c547a info:messages.EmojiGameInfo = Update;
updateStarGiftCraftFail#ac072444 = Update;
updateChatParticipantRank#bd8367b9 chat_id:long user_id:long rank:string version:int = Update;

Constructors #

ConstructorDescription
updateNewMessageNew message in a private chat or in a basic group.
updateMessageIDSent message with random_id client identifier was assigned an identifier.
updateDeleteMessagesMessages were deleted.
updateUserTypingThe user is preparing a message; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing
updateChatUserTypingThe user is preparing a message in a group; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing
updateChatParticipantsThe participants of a basic group » changed.
updateUserStatusContact status update.
updateUserNameChanges the user's first name, last name and username.
updateNewAuthorizationA new session logged into the current user's account through an unknown device.
updateNewEncryptedMessageNew encrypted message.
updateEncryptedChatTypingInterlocutor is typing a message in an encrypted chat. Update period is 6 second. If upon this time there is no repeated update, it shall be considered that the interlocutor stopped typing.
updateEncryptionChange of state in an encrypted chat.
updateEncryptedMessagesReadCommunication history in an encrypted chat was marked as read.
updateChatParticipantAddNew group member.
updateChatParticipantDeleteA member has left the basic group.
updateDcOptionsChanges in the data center configuration options.
updateNotifySettingsChanges in notification settings.
updateServiceNotificationA service message for the user.

The app must show the message to the user upon receiving this update. In case the popup parameter was passed, the text message must be displayed in a popup alert immediately upon receipt. It is recommended to handle the text as you would an ordinary message in terms of highlighting links, etc. The message must also be stored locally as part of the message history with the user id 777000 (Telegram Notifications).
updatePrivacyPrivacy rules were changed
updateUserPhoneA user's phone number was changed
updateReadHistoryInboxIncoming messages were read
updateReadHistoryOutboxOutgoing messages were read
updateWebPageAn instant view webpage preview was generated
updateReadMessagesContentsContents of messages in the common message box were read (emitted specifically for messages like voice messages or video, only once the media is watched and marked as read using messages.readMessageContents).
updateChannelTooLongThere are new updates in the specified channel, the client must fetch them manually by invoking updates.getChannelDifference as specified in the documentation ».

If the channel's PTS isn't currently stored in the database (i.e. we joined this channel on another client while the current client was offline), start fetching from the specified pts.

Does not necessarily indicate the channel message box size limit was reached, it simply indicates that the number of queued updates in a message box is too large to be delivered passively through the socket.
updateChannelChannel/supergroup (channel and/or channelFull) information was updated.

This update can only be received through getDifference or in updates/updatesCombined constructors, so it will always come bundled with the updated channel, that should be applied as usual », without re-fetching the info manually.

However, full peer information will not come bundled in updates, so the full peer cache (channelFull) must be invalidated for channel_id when receiving this update.
updateNewChannelMessageA new message was sent in a channel/supergroup
updateReadChannelInboxIncoming messages in a channel/supergroup were read
updateDeleteChannelMessagesSome messages in a supergroup/channel were deleted
updateChannelMessageViewsThe view counter of a message in a channel has changed
updateChatParticipantAdminAdmin permissions of a user in a basic group were changed
updateNewStickerSetA new stickerset was installed
updateStickerSetsOrderThe order of stickersets was changed
updateStickerSetsInstalled stickersets have changed, the client should refetch them as described in the docs.
updateSavedGifsThe saved gif list has changed, the client should refetch it using messages.getSavedGifs
updateBotInlineQueryAn incoming inline query
updateBotInlineSendThe result of an inline query that was chosen by a user and sent to their chat partner. Please see our documentation on the feedback collecting for details on how to enable these updates for your bot.
updateEditChannelMessageA message was edited in a channel/supergroup
updateBotCallbackQueryA callback button was pressed, and the button data was sent to the bot that created the button
updateEditMessageA message was edited
updateInlineBotCallbackQueryThis notification is received by bots when a button is pressed
updateReadChannelOutboxOutgoing messages in a channel/supergroup were read
updateDraftMessageNotifies a change of a message draft.
updateReadFeaturedStickersSome featured stickers were marked as read
updateRecentStickersThe recent sticker list was updated
updateConfigThe server-side configuration has changed; the client should re-fetch the config using help.getConfig and help.getAppConfig.
updatePtsChangedCommon message box sequence PTS has changed, state has to be refetched using updates.getState
updateChannelWebPageA webpage preview of a link in a channel/supergroup message was generated
updateDialogPinnedA dialog was pinned/unpinned
updatePinnedDialogsPinned dialogs were updated
updateBotWebhookJSONA new incoming event; for bots only
updateBotWebhookJSONQueryA new incoming query; for bots only
updateBotShippingQueryThis object contains information about an incoming shipping query.
updateBotPrecheckoutQueryThis object contains information about an incoming pre-checkout query.
updatePhoneCallAn incoming phone call
updateLangPackTooLongA language pack has changed, the client should manually fetch the changed strings using langpack.getDifference
updateLangPackLanguage pack updated
updateFavedStickersThe list of favorited stickers was changed, the client should call messages.getFavedStickers to refetch the new list
updateChannelReadMessagesContentsThe specified channel/supergroup messages were read (emitted specifically for messages like voice messages or video, only once the media is watched and marked as read using channels.readMessageContents)
updateContactsResetAll contacts were deleted
updateChannelAvailableMessagesThe history of a channel/supergroup was hidden.
updateDialogUnreadMarkThe manual unread mark of a chat was changed
updateMessagePollThe results of a poll have changed
updateChatDefaultBannedRightsDefault banned rights in a basic group were updated
updateFolderPeersThe peer list of a peer folder was updated
updatePeerSettingsSettings of a certain peer have changed
updatePeerLocatedList of peers near you was updated
updateNewScheduledMessageA message was added to the schedule queue of a chat
updateDeleteScheduledMessagesSome scheduled messages were deleted (or sent) from the schedule queue of a chat
updateThemeA cloud theme was updated
updateGeoLiveViewedLive geoposition message was viewed
updateLoginTokenA login token (for login via QR code) was accepted.
updateMessagePollVoteA specific peer has voted in a poll (this update can only be received by a bot).
updateDialogFilterA new folder was added
updateDialogFilterOrderNew folder order
updateDialogFiltersClients should update folder info
updatePhoneCallSignalingDataIncoming phone call signaling payload
updateChannelMessageForwardsThe forward counter of a message in a channel has changed
updateReadChannelDiscussionInboxIncoming comments in a discussion thread were marked as read
updateReadChannelDiscussionOutboxOutgoing comments in a discussion thread were marked as read
updatePeerBlockedWe blocked a peer, see here » for more info on blocklists.
updateChannelUserTypingA user is typing in a supergroup, channel or message thread
updatePinnedMessagesSome messages were pinned in a chat
updatePinnedChannelMessagesMessages were pinned/unpinned in a channel/supergroup
updateChatChat (chat and/or chatFull) information was updated.

This update can only be received through getDifference or in updates/updatesCombined constructors, so it will always come bundled with the updated chat, that should be applied as usual », without re-fetching the info manually.

However, full peer information will not come bundled in updates, so the full peer cache (chatFull) must be invalidated for chat_id when receiving this update.
updateGroupCallParticipantsThe participant list of a group call has changed.
updateGroupCallIndicates that group call information changed, see applying group call updates ».
updatePeerHistoryTTLThe Time-To-Live for messages sent by the current user in a specific chat has changed
updateChatParticipantA user has joined or left a specific basic group »: this update can only be received by bots, see here » for the user version of this update.
updateChannelParticipantA participant has left, joined, was banned or admined in a channel or supergroup.
updateBotStoppedA bot was stopped or re-started.
updateGroupCallConnectionConnection parameters returned after joining a group call, see presentations » and stream mode ».

If presentation is set, the parameters belong to the separate presentation connection; otherwise they belong to the main connection.

For a normal WebRTC connection, pass params to the local tgcalls group-call engine as its join response payload.

For stream-mode calls, where the client plays the call by downloading media chunks » instead of using WebRTC, params instead has one of the following shapes:

json<br>{<br> "stream": true<br>}<br>

for a call that entered stream mode, or

json<br>{<br> "stream": true,<br> "rtmp": true<br>}<br>

for an RTMP-mode call.
updateBotCommandsThe command set of a certain bot in a certain chat has changed.
updatePendingJoinRequestsSomeone has requested to join a chat or channel
updateBotChatInviteRequesterSomeone has requested to join a chat or channel (bots only, users will receive an updatePendingJoinRequests, instead)
updateMessageReactionsNew message reactions » are available
updateAttachMenuBotsThe list of installed attachment menu entries » has changed, use messages.getAttachMenuBots to fetch the updated list.
updateWebViewResultSentIndicates to a bot that a webview was closed and an inline message was sent on behalf of the user using messages.sendWebViewResultMessage
updateBotMenuButtonThe menu button behavior for the specified bot has changed
updateSavedRingtonesThe list of saved notification sounds has changed, use account.getSavedRingtones to fetch the new list.
updateTranscribedAudioA pending voice message transcription » initiated with messages.transcribeAudio was updated.
updateReadFeaturedEmojiStickersSome featured custom emoji stickers were marked as read
updateUserEmojiStatusThe emoji status of a certain user has changed
updateRecentEmojiStatusesThe list of recent emoji statuses has changed
updateRecentReactionsThe list of recent message reactions has changed
updateMoveStickerSetToTopA stickerset was just moved to top, see here for more info »
updateMessageExtendedMediaYou bought a paid media »: this update contains the revealed media.
updateUserUser (user and/or userFull) information was updated.

This update can only be received through getDifference or in updates/updatesCombined constructors, so it will always come bundled with the updated user, that should be applied as usual », without re-fetching the info manually.

However, full peer information will not come bundled in updates, so the full peer cache (userFull) must be invalidated for user_id when receiving this update.
updateAutoSaveSettingsMedia autosave settings have changed and must be refetched using account.getAutoSaveSettings.
updateStoryA new story was posted.
updateReadStoriesStories of a specific peer were marked as read.
updateStoryIDA story was successfully uploaded.

Once a story is successfully uploaded, an updateStoryID will be returned, indicating the story ID (id) that was attributed to the story (like for messages, random_id indicates the random_id that was passed to stories.sendStory: this way, you can tell which story was assigned a specific id by checking which stories.sendStory call has the returned random_id).
updateStoriesStealthModeIndicates that stories stealth mode was activated.
updateSentStoryReactionIndicates we reacted to a story ».
updateBotChatBoostA channel/supergroup boost has changed (bots only)
updateChannelViewForumAsMessagesUsers may also choose to display messages from all topics as if they were sent to a normal group, using a "View as messages" setting in the local client.
This setting only affects the current account, and is synced to other logged in sessions using the channels.toggleViewForumAsMessages method; invoking this method will update the value of the view_forum_as_messages flag of channelFull or dialog and emit an updateChannelViewForumAsMessages.
updatePeerWallpaperThe wallpaper » of a given peer has changed.
updateBotMessageReactionBots only: a user has changed their reactions on a message with public reactions.
updateBotMessageReactionsBots only: the number of reactions on a message with anonymous reactions has changed.
updateSavedDialogPinnedA saved message dialog was pinned/unpinned
updatePinnedSavedDialogsPinned saved dialogs » were updated
updateSavedReactionTagsThe list of reaction tag » names assigned by the user has changed and should be refetched using messages.getSavedReactionTags ».
updateSmsJobA new SMS job was received
updateQuickRepliesInfo about or the order of quick reply shortcuts » was changed.
updateNewQuickReplyA new quick reply shortcut » was created.
updateDeleteQuickReplyA quick reply shortcut » was deleted. This will not emit updateDeleteQuickReplyMessages updates, even if all the messages in the shortcut are also deleted by this update.
updateQuickReplyMessageA new message was added to a quick reply shortcut ».
updateDeleteQuickReplyMessagesOne or more messages in a quick reply shortcut » were deleted.
updateBotBusinessConnectConnecting or disconnecting a business bot or changing the connection settings will emit an updateBotBusinessConnect update to the bot, with the new settings and a connection_id that will be used by the bot to handle updates from and send messages as the user.
updateBotNewBusinessMessageA message was received via a connected business chat ».
updateBotEditBusinessMessageA message was edited in a connected business chat ».
updateBotDeleteBusinessMessageA message was deleted in a connected business chat ».
updateNewStoryReactionRepresents a new reaction to a story.
updateStarsBalanceThe current account's Telegram Stars balance » has changed.
updateBusinessBotCallbackQueryA callback button sent via a business connection was pressed, and the button data was sent to the bot that created the button.
updateStarsRevenueStatusThe Telegram Star balance of a channel/bot we own has changed ».
updateBotPurchasedPaidMediaBots only: a user has purchased a paid media.
updatePaidReactionPrivacyContains the current default paid reaction privacy, see here » for more info.

Clients should invoke messages.getPaidReactionPrivacy on startup to fetch the current default reaction privacy because this update is only sent to currently online sessions and cannot be fetched using getDifference on client startup.
updateSentPhoneCodeA paid login SMS code was successfully sent.
updateGroupCallChainBlocksContains conference call blockchain blocks, see handling E2E group call updates ».
updateReadMonoForumInboxIncoming messages in a monoforum topic were read
updateReadMonoForumOutboxOutgoing messages in a monoforum were read.
updateMonoForumNoPaidExceptionAn admin has (un)exempted this monoforum topic » from payment to send messages using account.toggleNoPaidMessagesException.
updateGroupCallMessageA new message, reaction, paid comment or donation was received through the in-call message overlay ».
updateGroupCallEncryptedMessageA new E2E-encrypted message or emoji reaction was received in a conference call, see here » for the decryption process.
updatePinnedForumTopicA forum topic » was pinned or unpinned.
updatePinnedForumTopicsThe pinned topics of a forum have changed.
updateDeleteGroupCallMessagesIndicates that messages were deleted from the in-call message overlay » of a video chat/livestream or live story, including in RTMP mode.
updateStarGiftAuctionStateContains updates to auction state, see here » for more info on how to enable these updates.
updateStarGiftAuctionUserStateContains updates to auction state related to the current user, see here » for more info on how to enable these updates.
updateEmojiGameInfoDice game update.
updateStarGiftCraftFailIndicates that a crafting » attempt did not produce a new collectible gift.
updateChatParticipantRankThe tag » of a participant of a basic group » has changed.
updateManagedBotManager bots only: a bot managed by the currently logged in bot was created or updated.
updateBotGuestChatQuerySent to guest bots » when a user invokes the bot as a guest in a chat. The bot should reply by invoking messages.setBotGuestChatResult, see here » for more info.
updateAiComposeTonesThe list of saved AI composer tones » of the current user has changed, and should be refetched using aicompose.getTones.