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