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

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