Airgram

Guides

TDLib Updates

PredicateTypeDescription
Search update...
"updateAuthorizationState"UpdateAuthorizationState The user authorization state has changed
"updateNewMessage"UpdateNewMessage A new message was received; can also be an outgoing message
"updateMessageSendAcknowledged"UpdateMessageSendAcknowledged A request to send a message has reached the Telegram server. This doesn't mean that the message will be sent successfully or even that the send message request will be processed. This update will be sent only if the option "use_quick_ack" is set to true. This update may be sent multiple times for the same message
"updateMessageSendSucceeded"UpdateMessageSendSucceeded A message has been successfully sent
"updateMessageSendFailed"UpdateMessageSendFailed A message failed to send. Be aware that some messages being sent can be irrecoverably deleted, in which case updateDeleteMessages will be received instead of this update
"updateMessageContent"UpdateMessageContent The message content has changed
"updateMessageEdited"UpdateMessageEdited A message was edited. Changes in the message content will come in a separate updateMessageContent
"updateMessageIsPinned"UpdateMessageIsPinned The message pinned state was changed
"updateMessageInteractionInfo"UpdateMessageInteractionInfo The information about interactions with a message has changed
"updateMessageContentOpened"UpdateMessageContentOpened The message content was opened. Updates voice note messages to "listened", video note messages to "viewed" and starts the TTL timer for self-destructing messages
"updateMessageMentionRead"UpdateMessageMentionRead A message with an unread mention was read
"updateMessageLiveLocationViewed"UpdateMessageLiveLocationViewed A message with a live location was viewed. When the update is received, the application is supposed to update the live location
"updateNewChat"UpdateNewChat A new chat has been loaded/created. This update is guaranteed to come before the chat identifier is returned to the application. The chat field changes will be reported through separate updates
"updateChatTitle"UpdateChatTitle The title of a chat was changed
"updateChatPhoto"UpdateChatPhoto A chat photo was changed
"updateChatPermissions"UpdateChatPermissions Chat permissions was changed
"updateChatLastMessage"UpdateChatLastMessage The last message of a chat was changed. If last_message is null, then the last message in the chat became unknown. Some new unknown messages might be added to the chat in this case
"updateChatPosition"UpdateChatPosition The position of a chat in a chat list has changed. Instead of this update updateChatLastMessage or updateChatDraftMessage might be sent
"updateChatReadInbox"UpdateChatReadInbox Incoming messages were read or the number of unread messages has been changed
"updateChatReadOutbox"UpdateChatReadOutbox Outgoing messages were read
"updateChatActionBar"UpdateChatActionBar The chat action bar was changed
"updateChatDraftMessage"UpdateChatDraftMessage A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied
"updateChatMessageSender"UpdateChatMessageSender The message sender that is selected to send messages in a chat has changed
"updateChatMessageTtl"UpdateChatMessageTtl The message Time To Live setting for a chat was changed
"updateChatNotificationSettings"UpdateChatNotificationSettings Notification settings for a chat were changed
"updateChatPendingJoinRequests"UpdateChatPendingJoinRequests The chat pending join requests were changed
"updateChatReplyMarkup"UpdateChatReplyMarkup The default chat reply markup was changed. Can occur because new messages with reply markup were received or because an old reply markup was hidden by the user
"updateChatTheme"UpdateChatTheme The chat theme was changed
"updateChatUnreadMentionCount"UpdateChatUnreadMentionCount The chat unread_mention_count has changed
"updateChatVideoChat"UpdateChatVideoChat A chat video chat state has changed
"updateChatDefaultDisableNotification"UpdateChatDefaultDisableNotification The value of the default disable_notification parameter, used when a message is sent to the chat, was changed
"updateChatHasProtectedContent"UpdateChatHasProtectedContent A chat content was allowed or restricted for saving
"updateChatHasScheduledMessages"UpdateChatHasScheduledMessages A chat's has_scheduled_messages field has changed
"updateChatIsBlocked"UpdateChatIsBlocked A chat was blocked or unblocked
"updateChatIsMarkedAsUnread"UpdateChatIsMarkedAsUnread A chat was marked as unread or was read
"updateChatFilters"UpdateChatFilters The list of chat filters or a chat filter has changed
"updateChatOnlineMemberCount"UpdateChatOnlineMemberCount The number of online group members has changed. This update with non-zero count is sent only for currently opened chats. There is no guarantee that it will be sent just after the count has changed
"updateScopeNotificationSettings"UpdateScopeNotificationSettings Notification settings for some type of chats were updated
"updateNotification"UpdateNotification A notification was changed
"updateNotificationGroup"UpdateNotificationGroup A list of active notifications in a notification group has changed
"updateActiveNotifications"UpdateActiveNotifications Contains active notifications that was shown on previous application launches. This update is sent only if the message database is used. In that case it comes once before any updateNotification and updateNotificationGroup update
"updateHavePendingNotifications"UpdateHavePendingNotifications Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications
"updateDeleteMessages"UpdateDeleteMessages Some messages were deleted
"updateChatAction"UpdateChatAction A message sender activity in the chat has changed
"updateUserStatus"UpdateUserStatus The user went online or offline
"updateUser"UpdateUser Some data of a user has changed. This update is guaranteed to come before the user identifier is returned to the application
"updateBasicGroup"UpdateBasicGroup Some data of a basic group has changed. This update is guaranteed to come before the basic group identifier is returned to the application
"updateSupergroup"UpdateSupergroup Some data of a supergroup or a channel has changed. This update is guaranteed to come before the supergroup identifier is returned to the application
"updateSecretChat"UpdateSecretChat Some data of a secret chat has changed. This update is guaranteed to come before the secret chat identifier is returned to the application
"updateUserFullInfo"UpdateUserFullInfo Some data in userFullInfo has been changed
"updateBasicGroupFullInfo"UpdateBasicGroupFullInfo Some data in basicGroupFullInfo has been changed
"updateSupergroupFullInfo"UpdateSupergroupFullInfo Some data in supergroupFullInfo has been changed
"updateServiceNotification"UpdateServiceNotification A service notification from the server was received. Upon receiving this the application must show a popup with the content of the notification
"updateFile"UpdateFile Information about a file was updated
"updateFileGenerationStart"UpdateFileGenerationStart The file generation process needs to be started by the application
"updateFileGenerationStop"UpdateFileGenerationStop File generation is no longer needed
"updateCall"UpdateCall New call was created or information about a call was updated
"updateGroupCall"UpdateGroupCall Information about a group call was updated
"updateGroupCallParticipant"UpdateGroupCallParticipant Information about a group call participant was changed. The updates are sent only after the group call is received through getGroupCall and only if the call is joined or being joined
"updateNewCallSignalingData"UpdateNewCallSignalingData New call signaling data arrived
"updateUserPrivacySettingRules"UpdateUserPrivacySettingRules Some privacy setting rules have been changed
"updateUnreadMessageCount"UpdateUnreadMessageCount Number of unread messages in a chat list has changed. This update is sent only if the message database is used
"updateUnreadChatCount"UpdateUnreadChatCount Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if the message database is used
"updateOption"UpdateOption An option changed its value
"updateStickerSet"UpdateStickerSet A sticker set has changed
"updateInstalledStickerSets"UpdateInstalledStickerSets The list of installed sticker sets was updated
"updateTrendingStickerSets"UpdateTrendingStickerSets The list of trending sticker sets was updated or some of them were viewed
"updateRecentStickers"UpdateRecentStickers The list of recently used stickers was updated
"updateFavoriteStickers"UpdateFavoriteStickers The list of favorite stickers was updated
"updateSavedAnimations"UpdateSavedAnimations The list of saved animations was updated
"updateSelectedBackground"UpdateSelectedBackground The selected background has changed
"updateChatThemes"UpdateChatThemes The list of available chat themes has changed
"updateLanguagePackStrings"UpdateLanguagePackStrings Some language pack strings have been updated
"updateConnectionState"UpdateConnectionState The connection state has changed. This update must be used only to show a human-readable description of the connection state
"updateTermsOfService"UpdateTermsOfService New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method must be called with the reason "Decline ToS update"
"updateUsersNearby"UpdateUsersNearby The list of users nearby has changed. The update is guaranteed to be sent only 60 seconds after a successful searchChatsNearby request
"updateDiceEmojis"UpdateDiceEmojis The list of supported dice emojis has changed
"updateAnimatedEmojiMessageClicked"UpdateAnimatedEmojiMessageClicked Some animated emoji message was clicked and a big animated sticker must be played if the message is visible on the screen. chatActionWatchingAnimations with the text of the message needs to be sent if the sticker is played
"updateAnimationSearchParameters"UpdateAnimationSearchParameters The parameters of animation search through GetOption("animation_search_bot_username") bot has changed
"updateSuggestedActions"UpdateSuggestedActions The list of suggested to the user actions has changed
"updateNewInlineQuery"UpdateNewInlineQuery A new incoming inline query; for bots only
"updateNewChosenInlineResult"UpdateNewChosenInlineResult The user has chosen a result of an inline query; for bots only
"updateNewCallbackQuery"UpdateNewCallbackQuery A new incoming callback query; for bots only
"updateNewInlineCallbackQuery"UpdateNewInlineCallbackQuery A new incoming callback query from a message sent via a bot; for bots only
"updateNewShippingQuery"UpdateNewShippingQuery A new incoming shipping query; for bots only. Only for invoices with flexible price
"updateNewPreCheckoutQuery"UpdateNewPreCheckoutQuery A new incoming pre-checkout query; for bots only. Contains full information about a checkout
"updateNewCustomEvent"UpdateNewCustomEvent A new incoming event; for bots only
"updateNewCustomQuery"UpdateNewCustomQuery A new incoming query; for bots only
"updatePoll"UpdatePoll A poll was updated; for bots only
"updatePollAnswer"UpdatePollAnswer A user changed the answer to a poll; for bots only
"updateChatMember"UpdateChatMember User rights changed in a chat; for bots only
"updateNewChatJoinRequest"UpdateNewChatJoinRequest A user sent a join request to a chat; for bots only