Update class sealed
Contains notifications about data changes
One of: UpdateAuthorizationState, UpdateNewMessage, UpdateMessageSendAcknowledged, UpdateMessageSendSucceeded, UpdateMessageSendFailed, UpdateMessageContent, UpdateMessageEphemeralContent, UpdateMessageEdited, UpdateMessageIsPinned, UpdateMessageInteractionInfo, UpdateMessageContentOpened, UpdateMessageMentionRead, UpdateMessageUnreadReactions, UpdateMessageContainsUnreadPollVotes, UpdateMessageFactCheck, UpdateMessageSuggestedPostInfo, UpdateMessageLiveLocationViewed, UpdateVideoPublished, UpdateNewChat, UpdateChatTitle, UpdateChatPhoto, UpdateChatAccentColors, UpdateChatPermissions, UpdateChatLastMessage, UpdateChatPosition, UpdateChatAddedToList, UpdateChatRemovedFromList, UpdateChatReadInbox, UpdateChatReadOutbox, UpdateChatActionBar, UpdateChatBusinessBotManageBar, UpdateChatAvailableReactions, UpdateChatDraftMessage, UpdateChatEmojiStatus, UpdateChatMessageSender, UpdateChatMessageAutoDeleteTime, UpdateChatNotificationSettings, UpdateChatPendingJoinRequests, UpdateChatReplyMarkup, UpdateChatBackground, UpdateChatTheme, UpdateChatUnreadMentionCount, UpdateChatUnreadReactionCount, UpdateChatUnreadPollVoteCount, UpdateChatVideoChat, UpdateChatDefaultDisableNotification, UpdateChatHasProtectedContent, UpdateChatIsTranslatable, UpdateChatIsMarkedAsUnread, UpdateChatViewAsTopics, UpdateChatBlockList, UpdateChatHasScheduledMessages, UpdateChatHasWelcomeMessages, UpdateChatFolders, UpdateChatOnlineMemberCount, UpdateSavedMessagesTopic, UpdateSavedMessagesTopicCount, UpdateDirectMessagesChatTopic, UpdateTopicMessageCount, UpdateQuickReplyShortcut, UpdateQuickReplyShortcutDeleted, UpdateQuickReplyShortcuts, UpdateQuickReplyShortcutMessages, UpdateChatWelcomeMessages, UpdateForumTopicInfo, UpdateForumTopic, UpdateScopeNotificationSettings, UpdateReactionNotificationSettings, UpdateNotification, UpdateNotificationGroup, UpdateActiveNotifications, UpdateHavePendingNotifications, UpdateDeleteMessages, UpdateChatAction, UpdatePendingMessage, UpdateStopMessageDraft, UpdateCommunity, UpdateUserStatus, UpdateUser, UpdateBasicGroup, UpdateSupergroup, UpdateSecretChat, UpdateUserFullInfo, UpdateBasicGroupFullInfo, UpdateSupergroupFullInfo, UpdateCommunityFullInfo, UpdateServiceNotification, UpdateNewOauthRequest, UpdateFile, UpdateFileGenerationStart, UpdateFileGenerationStop, UpdateFileDownloads, UpdateFileAddedToDownloads, UpdateFileDownload, UpdateFileRemovedFromDownloads, UpdateApplicationVerificationRequired, UpdateApplicationRecaptchaVerificationRequired, UpdateCall, UpdateGroupCall, UpdateGroupCallParticipant, UpdateGroupCallParticipants, UpdateGroupCallVerificationState, UpdateNewGroupCallMessage, UpdateNewGroupCallPaidReaction, UpdateGroupCallMessageSendFailed, UpdateGroupCallMessagesDeleted, UpdateLiveStoryTopDonors, UpdateNewCallSignalingData, UpdateGiftAuctionState, UpdateActiveGiftAuctions, UpdateUserPrivacySettingRules, UpdateUnreadMessageCount, UpdateUnreadChatCount, UpdateChatJoinResult, UpdateStory, UpdateStoryDeleted, UpdateStoryPostSucceeded, UpdateStoryPostFailed, UpdateChatActiveStories, UpdateStoryListChatCount, UpdateStoryStealthMode, UpdateAllowedBotUsernamePremiumSuffixes, UpdateTrustedMiniAppBots, UpdateOption, UpdateStickerSet, UpdateInstalledStickerSets, UpdateTrendingStickerSets, UpdateRecentStickers, UpdateFavoriteStickers, UpdateSavedAnimations, UpdateSavedNotificationSounds, UpdateDefaultBackground, UpdateEmojiChatThemes, UpdateAccentColors, UpdateProfileAccentColors, UpdateWebBrowserSettings, UpdateLanguagePackStrings, UpdateConnectionState, UpdateWebProxyCarrierOpened, UpdateWebProxyCarrierData, UpdateWebProxyCarrierClosed, UpdateFreezeState, UpdateAgeVerificationParameters, UpdateTermsOfService, UpdateUnconfirmedSession, UpdateAttachmentMenuBots, UpdateWebAppMessageSent, UpdateActiveEmojiReactions, UpdateAvailableMessageEffects, UpdateDefaultReactionType, UpdateDefaultPaidReactionType, UpdateSavedMessagesTags, UpdateActiveLiveLocationMessages, UpdateOwnedStarCount, UpdateOwnedGramCount, UpdateTonWalletState, UpdateTonWalletGaslessTransfersInfo, UpdateTonWalletTonConnectSession, UpdateTonWalletTonConnectSessionDisconnectRequired, UpdateChatRevenueAmount, UpdateStarRevenueStatus, UpdateGramRevenueStatus, UpdateSpeechRecognitionTrial, UpdateGroupCallMessageLevels, UpdateDiceEmojis, UpdateStakeDiceState, UpdateAnimatedEmojiMessageClicked, UpdateAnimationSearchParameters, UpdateTextCompositionStyles, UpdateSuggestedActions, UpdateSpeedLimitNotification, UpdateContactCloseBirthdays, UpdateAutosaveSettings, UpdateBusinessConnection, UpdateNewBusinessMessage, UpdateBusinessMessageEdited, UpdateBusinessMessagesDeleted, UpdateNewInlineQuery, UpdateNewChosenInlineResult, UpdateNewGuestQuery, UpdateNewCallbackQuery, UpdateNewInlineCallbackQuery, UpdateNewBusinessCallbackQuery, UpdateNewShippingQuery, UpdateNewPreCheckoutQuery, UpdateNewCustomEvent, UpdateNewCustomQuery, UpdateUserSubscription, UpdatePoll, UpdatePollAnswer, UpdateManagedBot, UpdateChatMember, UpdateNewChatJoinRequest, UpdateChatBoost, UpdateMessageReaction, UpdateMessageReactions, UpdatePaidMediaPurchased; or UndecodedUpdate for a type newer than this API.
- Inheritance
- Implementers
- UndecodedUpdate
- UpdateAccentColors
- UpdateActiveEmojiReactions
- UpdateActiveGiftAuctions
- UpdateActiveLiveLocationMessages
- UpdateActiveNotifications
- UpdateAgeVerificationParameters
- UpdateAllowedBotUsernamePremiumSuffixes
- UpdateAnimatedEmojiMessageClicked
- UpdateAnimationSearchParameters
- UpdateApplicationRecaptchaVerificationRequired
- UpdateApplicationVerificationRequired
- UpdateAttachmentMenuBots
- UpdateAuthorizationState
- UpdateAutosaveSettings
- UpdateAvailableMessageEffects
- UpdateBasicGroup
- UpdateBasicGroupFullInfo
- UpdateBusinessConnection
- UpdateBusinessMessageEdited
- UpdateBusinessMessagesDeleted
- UpdateCall
- UpdateChatAccentColors
- UpdateChatAction
- UpdateChatActionBar
- UpdateChatActiveStories
- UpdateChatAddedToList
- UpdateChatAvailableReactions
- UpdateChatBackground
- UpdateChatBlockList
- UpdateChatBoost
- UpdateChatBusinessBotManageBar
- UpdateChatDefaultDisableNotification
- UpdateChatDraftMessage
- UpdateChatEmojiStatus
- UpdateChatFolders
- UpdateChatHasProtectedContent
- UpdateChatHasScheduledMessages
- UpdateChatHasWelcomeMessages
- UpdateChatIsMarkedAsUnread
- UpdateChatIsTranslatable
- UpdateChatJoinResult
- UpdateChatLastMessage
- UpdateChatMember
- UpdateChatMessageAutoDeleteTime
- UpdateChatMessageSender
- UpdateChatNotificationSettings
- UpdateChatOnlineMemberCount
- UpdateChatPendingJoinRequests
- UpdateChatPermissions
- UpdateChatPhoto
- UpdateChatPosition
- UpdateChatReadInbox
- UpdateChatReadOutbox
- UpdateChatRemovedFromList
- UpdateChatReplyMarkup
- UpdateChatRevenueAmount
- UpdateChatTheme
- UpdateChatTitle
- UpdateChatUnreadMentionCount
- UpdateChatUnreadPollVoteCount
- UpdateChatUnreadReactionCount
- UpdateChatVideoChat
- UpdateChatViewAsTopics
- UpdateChatWelcomeMessages
- UpdateCommunity
- UpdateCommunityFullInfo
- UpdateConnectionState
- UpdateContactCloseBirthdays
- UpdateDefaultBackground
- UpdateDefaultPaidReactionType
- UpdateDefaultReactionType
- UpdateDeleteMessages
- UpdateDiceEmojis
- UpdateDirectMessagesChatTopic
- UpdateEmojiChatThemes
- UpdateFavoriteStickers
- UpdateFile
- UpdateFileAddedToDownloads
- UpdateFileDownload
- UpdateFileDownloads
- UpdateFileGenerationStart
- UpdateFileGenerationStop
- UpdateFileRemovedFromDownloads
- UpdateForumTopic
- UpdateForumTopicInfo
- UpdateFreezeState
- UpdateGiftAuctionState
- UpdateGramRevenueStatus
- UpdateGroupCall
- UpdateGroupCallMessageLevels
- UpdateGroupCallMessagesDeleted
- UpdateGroupCallMessageSendFailed
- UpdateGroupCallParticipant
- UpdateGroupCallParticipants
- UpdateGroupCallVerificationState
- UpdateHavePendingNotifications
- UpdateInstalledStickerSets
- UpdateLanguagePackStrings
- UpdateLiveStoryTopDonors
- UpdateManagedBot
- UpdateMessageContainsUnreadPollVotes
- UpdateMessageContent
- UpdateMessageContentOpened
- UpdateMessageEdited
- UpdateMessageEphemeralContent
- UpdateMessageFactCheck
- UpdateMessageInteractionInfo
- UpdateMessageIsPinned
- UpdateMessageLiveLocationViewed
- UpdateMessageMentionRead
- UpdateMessageReaction
- UpdateMessageReactions
- UpdateMessageSendAcknowledged
- UpdateMessageSendFailed
- UpdateMessageSendSucceeded
- UpdateMessageSuggestedPostInfo
- UpdateMessageUnreadReactions
- UpdateNewBusinessCallbackQuery
- UpdateNewBusinessMessage
- UpdateNewCallbackQuery
- UpdateNewCallSignalingData
- UpdateNewChat
- UpdateNewChatJoinRequest
- UpdateNewChosenInlineResult
- UpdateNewCustomEvent
- UpdateNewCustomQuery
- UpdateNewGroupCallMessage
- UpdateNewGroupCallPaidReaction
- UpdateNewGuestQuery
- UpdateNewInlineCallbackQuery
- UpdateNewInlineQuery
- UpdateNewMessage
- UpdateNewOauthRequest
- UpdateNewPreCheckoutQuery
- UpdateNewShippingQuery
- UpdateNotification
- UpdateNotificationGroup
- UpdateOption
- UpdateOwnedGramCount
- UpdateOwnedStarCount
- UpdatePaidMediaPurchased
- UpdatePendingMessage
- UpdatePoll
- UpdatePollAnswer
- UpdateProfileAccentColors
- UpdateQuickReplyShortcut
- UpdateQuickReplyShortcutDeleted
- UpdateQuickReplyShortcutMessages
- UpdateQuickReplyShortcuts
- UpdateReactionNotificationSettings
- UpdateRecentStickers
- UpdateSavedAnimations
- UpdateSavedMessagesTags
- UpdateSavedMessagesTopic
- UpdateSavedMessagesTopicCount
- UpdateSavedNotificationSounds
- UpdateScopeNotificationSettings
- UpdateSecretChat
- UpdateServiceNotification
- UpdateSpeechRecognitionTrial
- UpdateSpeedLimitNotification
- UpdateStakeDiceState
- UpdateStarRevenueStatus
- UpdateStickerSet
- UpdateStopMessageDraft
- UpdateStory
- UpdateStoryDeleted
- UpdateStoryListChatCount
- UpdateStoryPostFailed
- UpdateStoryPostSucceeded
- UpdateStoryStealthMode
- UpdateSuggestedActions
- UpdateSupergroup
- UpdateSupergroupFullInfo
- UpdateTermsOfService
- UpdateTextCompositionStyles
- UpdateTonWalletGaslessTransfersInfo
- UpdateTonWalletState
- UpdateTonWalletTonConnectSession
- UpdateTonWalletTonConnectSessionDisconnectRequired
- UpdateTopicMessageCount
- UpdateTrendingStickerSets
- UpdateTrustedMiniAppBots
- UpdateUnconfirmedSession
- UpdateUnreadChatCount
- UpdateUnreadMessageCount
- UpdateUser
- UpdateUserFullInfo
- UpdateUserPrivacySettingRules
- UpdateUserStatus
- UpdateUserSubscription
- UpdateVideoPublished
- UpdateWebAppMessageSent
- UpdateWebBrowserSettings
- UpdateWebProxyCarrierClosed
- UpdateWebProxyCarrierData
- UpdateWebProxyCarrierOpened
Constructors
-
Update.fromJson(Map<
String, dynamic> json) -
Parses whichever Update subtype the JSON describes.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
) → Update - Returns a copy of this object.
-
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited