List of General Updates - OTR/Kotlin-Telegram-Client GitHub Wiki

Here is a list of updates (TdApi.Update) that sent to you when you successfully logged in:

  • UpdateAuthorizationState - represents an incoming update about the current authorization state of the user.
  • UpdateChatFilters - represents an incoming update of chat filters.
  • UpdateChatLastMessage - represents an incoming update about the last message in a chat. This update is sent when the last message changes in the chat or when the chat is opened.
  • UpdateChatPosition - represents an update about the new position of a chat in a chat list.
  • UpdateNewChat - represents an update about a new chat created or added to the list of chats. This update is generated whenever a new chat is created or added to the user's chat list.
  • UpdateUnreadChatCount - represents an update about the number of unread messages in a chat.
  • UpdateUnreadMessageCount - represents an update about the number of unread chat messages. It is used to notify the user about the number of unread messages in a chat. The update is sent by TDLib when the number of unread messages in a chat changes. The client can use this update to display the number of unread messages to the user.
  • UpdateUser - This update is sent whenever the user profile information is updated.
  • UpdateNewMessage - A new message was received; can also be an outgoing message.
  • UpdateDeleteMessages - Some messages were deleted.

Uninterested Update Types

With strikethrough style marked uninterested Update Types.

  • UpdateActiveEmojiReactions - represents an update about active emoji reactions in a chat.
  • UpdateAnimationSearchParameters - represents a Telegram update about changes to the parameters of an animation search query.
  • UpdateAttachmentMenuBots - the list of bots added to attachment menu has changed.
  • UpdateChatThemes - represents an update about the list of chat themes available to the user. This update is typically sent when the user opens the chat themes settings page in the Telegram client.
  • UpdateConnectionState - represents an update about the current connection state of the client. This class doesn't provide any useful information about the connection state itself. You can check the connection state by calling the getConnectionState method of the TelegramClient class.
  • UpdateDiceEmojis - represents a Telegram update about a new animated dice emoji. probability field (Double): The probability of the dice to roll each number from 1 to 6.
  • UpdateDefaultReactionType - represents an update of the default type of reactions to new messages in a chat. When a new message is sent, this default reaction type will be automatically added as a reaction to the message.
  • UpdateFileDownloads - represents changes in the list of downloaded files. Field fileType: (TdApi.FileType) representing the type of the downloaded files.
  • UpdateHavePendingNotifications - represents a change in the user's pending notification state. It is usually sent when there are pending notification updates that haven't been retrieved yet by the user. When a user has pending notifications, the Telegram server will keep them until the user retrieves them. This update is sent to inform the client that there are still pending notifications on the server, even if they haven't been retrieved yet. This class is used to notify the user of pending notifications, so they can retrieve them if they want to.
  • UpdateScopeNotificationSettings - represents an incoming update about changes to notification settings for a given notification scope.
  • UpdateSelectedBackground - represents an update to the selected background in a chat. This update is sent to the client when a user changes the chat's background.
  • UpdateUserStatus - The user went online or offline.

Under negitiation

  • UpdateChatReadInbox - Incoming messages were read or the number of unread messages has been changed.