Update class sealed

Contains notifications about data changes

One of: UpdateAuthorizationState, UpdateNewMessage, UpdateMessageSendAcknowledged, UpdateMessageSendSucceeded, UpdateMessageSendFailed, UpdateMessageContent, UpdateMessageEdited, UpdateMessageIsPinned, UpdateMessageInteractionInfo, UpdateMessageContentOpened, UpdateMessageMentionRead, UpdateMessageUnreadReactions, UpdateMessageLiveLocationViewed, UpdateNewChat, UpdateChatTitle, UpdateChatPhoto, UpdateChatPermissions, UpdateChatLastMessage, UpdateChatPosition, UpdateChatReadInbox, UpdateChatReadOutbox, UpdateChatActionBar, UpdateChatAvailableReactions, UpdateChatDraftMessage, UpdateChatMessageSender, UpdateChatMessageAutoDeleteTime, UpdateChatNotificationSettings, UpdateChatPendingJoinRequests, UpdateChatReplyMarkup, UpdateChatBackground, UpdateChatTheme, UpdateChatUnreadMentionCount, UpdateChatUnreadReactionCount, UpdateChatVideoChat, UpdateChatDefaultDisableNotification, UpdateChatHasProtectedContent, UpdateChatIsTranslatable, UpdateChatIsMarkedAsUnread, UpdateChatBlockList, UpdateChatHasScheduledMessages, UpdateChatFolders, UpdateChatOnlineMemberCount, UpdateForumTopicInfo, UpdateScopeNotificationSettings, UpdateNotification, UpdateNotificationGroup, UpdateActiveNotifications, UpdateHavePendingNotifications, UpdateDeleteMessages, UpdateChatAction, UpdateUserStatus, UpdateUser, UpdateBasicGroup, UpdateSupergroup, UpdateSecretChat, UpdateUserFullInfo, UpdateBasicGroupFullInfo, UpdateSupergroupFullInfo, UpdateServiceNotification, UpdateFile, UpdateFileGenerationStart, UpdateFileGenerationStop, UpdateFileDownloads, UpdateFileAddedToDownloads, UpdateFileDownload, UpdateFileRemovedFromDownloads, UpdateCall, UpdateGroupCall, UpdateGroupCallParticipant, UpdateNewCallSignalingData, UpdateUserPrivacySettingRules, UpdateUnreadMessageCount, UpdateUnreadChatCount, UpdateStory, UpdateStoryDeleted, UpdateStorySendSucceeded, UpdateStorySendFailed, UpdateChatActiveStories, UpdateStoryListChatCount, UpdateStoryStealthMode, UpdateOption, UpdateStickerSet, UpdateInstalledStickerSets, UpdateTrendingStickerSets, UpdateRecentStickers, UpdateFavoriteStickers, UpdateSavedAnimations, UpdateSavedNotificationSounds, UpdateSelectedBackground, UpdateChatThemes, UpdateLanguagePackStrings, UpdateConnectionState, UpdateTermsOfService, UpdateUsersNearby, UpdateUnconfirmedSession, UpdateAttachmentMenuBots, UpdateWebAppMessageSent, UpdateActiveEmojiReactions, UpdateDefaultReactionType, UpdateDiceEmojis, UpdateAnimatedEmojiMessageClicked, UpdateAnimationSearchParameters, UpdateSuggestedActions, UpdateAddChatMembersPrivacyForbidden, UpdateAutosaveSettings, UpdateNewInlineQuery, UpdateNewChosenInlineResult, UpdateNewCallbackQuery, UpdateNewInlineCallbackQuery, UpdateNewShippingQuery, UpdateNewPreCheckoutQuery, UpdateNewCustomEvent, UpdateNewCustomQuery, UpdatePoll, UpdatePollAnswer, UpdateChatMember, UpdateNewChatJoinRequest; 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