pub enum Update {
Show 61 variants
UpdateAuthorizationState(UpdateAuthorizationState),
UpdateNewMessage(UpdateNewMessage),
UpdateMessageSendAcknowledged(UpdateMessageSendAcknowledged),
UpdateMessageSendSucceeded(UpdateMessageSendSucceeded),
UpdateMessageSendFailed(UpdateMessageSendFailed),
UpdateMessageContent(UpdateMessageContent),
UpdateMessageEdited(UpdateMessageEdited),
UpdateMessageViews(UpdateMessageViews),
UpdateMessageContentOpened(UpdateMessageContentOpened),
UpdateMessageMentionRead(UpdateMessageMentionRead),
UpdateNewChat(UpdateNewChat),
UpdateChatTitle(UpdateChatTitle),
UpdateChatPhoto(UpdateChatPhoto),
UpdateChatLastMessage(UpdateChatLastMessage),
UpdateChatOrder(UpdateChatOrder),
UpdateChatIsPinned(UpdateChatIsPinned),
UpdateChatIsMarkedAsUnread(UpdateChatIsMarkedAsUnread),
UpdateChatIsSponsored(UpdateChatIsSponsored),
UpdateChatDefaultDisableNotification(UpdateChatDefaultDisableNotification),
UpdateChatReadInbox(UpdateChatReadInbox),
UpdateChatReadOutbox(UpdateChatReadOutbox),
UpdateChatUnreadMentionCount(UpdateChatUnreadMentionCount),
UpdateChatNotificationSettings(UpdateChatNotificationSettings),
UpdateScopeNotificationSettings(UpdateScopeNotificationSettings),
UpdateChatReplyMarkup(UpdateChatReplyMarkup),
UpdateChatDraftMessage(UpdateChatDraftMessage),
UpdateDeleteMessages(UpdateDeleteMessages),
UpdateUserChatAction(UpdateUserChatAction),
UpdateUserStatus(UpdateUserStatus),
UpdateUser(UpdateUser),
UpdateBasicGroup(UpdateBasicGroup),
UpdateSupergroup(UpdateSupergroup),
UpdateSecretChat(UpdateSecretChat),
UpdateUserFullInfo(UpdateUserFullInfo),
UpdateBasicGroupFullInfo(UpdateBasicGroupFullInfo),
UpdateSupergroupFullInfo(UpdateSupergroupFullInfo),
UpdateServiceNotification(UpdateServiceNotification),
UpdateFile(UpdateFile),
UpdateFileGenerationStart(UpdateFileGenerationStart),
UpdateFileGenerationStop(UpdateFileGenerationStop),
UpdateCall(UpdateCall),
UpdateUserPrivacySettingRules(UpdateUserPrivacySettingRules),
UpdateUnreadMessageCount(UpdateUnreadMessageCount),
UpdateUnreadChatCount(UpdateUnreadChatCount),
UpdateOption(UpdateOption),
UpdateInstalledStickerSets(UpdateInstalledStickerSets),
UpdateTrendingStickerSets(UpdateTrendingStickerSets),
UpdateRecentStickers(UpdateRecentStickers),
UpdateFavoriteStickers(UpdateFavoriteStickers),
UpdateSavedAnimations(UpdateSavedAnimations),
UpdateLanguagePackStrings(UpdateLanguagePackStrings),
UpdateConnectionState(UpdateConnectionState),
UpdateTermsOfService(UpdateTermsOfService),
UpdateNewInlineQuery(UpdateNewInlineQuery),
UpdateNewChosenInlineResult(UpdateNewChosenInlineResult),
UpdateNewCallbackQuery(UpdateNewCallbackQuery),
UpdateNewInlineCallbackQuery(UpdateNewInlineCallbackQuery),
UpdateNewShippingQuery(UpdateNewShippingQuery),
UpdateNewPreCheckoutQuery(UpdateNewPreCheckoutQuery),
UpdateNewCustomEvent(UpdateNewCustomEvent),
UpdateNewCustomQuery(UpdateNewCustomQuery),
}
Expand description
Variants§
UpdateAuthorizationState(UpdateAuthorizationState)
UpdateNewMessage(UpdateNewMessage)
UpdateMessageSendAcknowledged(UpdateMessageSendAcknowledged)
UpdateMessageSendSucceeded(UpdateMessageSendSucceeded)
UpdateMessageSendFailed(UpdateMessageSendFailed)
UpdateMessageContent(UpdateMessageContent)
UpdateMessageEdited(UpdateMessageEdited)
UpdateMessageViews(UpdateMessageViews)
UpdateMessageContentOpened(UpdateMessageContentOpened)
UpdateMessageMentionRead(UpdateMessageMentionRead)
UpdateNewChat(UpdateNewChat)
UpdateChatTitle(UpdateChatTitle)
UpdateChatPhoto(UpdateChatPhoto)
UpdateChatLastMessage(UpdateChatLastMessage)
UpdateChatOrder(UpdateChatOrder)
UpdateChatIsPinned(UpdateChatIsPinned)
UpdateChatIsMarkedAsUnread(UpdateChatIsMarkedAsUnread)
UpdateChatIsSponsored(UpdateChatIsSponsored)
UpdateChatDefaultDisableNotification(UpdateChatDefaultDisableNotification)
UpdateChatReadInbox(UpdateChatReadInbox)
UpdateChatReadOutbox(UpdateChatReadOutbox)
UpdateChatUnreadMentionCount(UpdateChatUnreadMentionCount)
UpdateChatNotificationSettings(UpdateChatNotificationSettings)
UpdateScopeNotificationSettings(UpdateScopeNotificationSettings)
UpdateChatReplyMarkup(UpdateChatReplyMarkup)
UpdateChatDraftMessage(UpdateChatDraftMessage)
UpdateDeleteMessages(UpdateDeleteMessages)
UpdateUserChatAction(UpdateUserChatAction)
UpdateUserStatus(UpdateUserStatus)
UpdateUser(UpdateUser)
UpdateBasicGroup(UpdateBasicGroup)
UpdateSupergroup(UpdateSupergroup)
UpdateSecretChat(UpdateSecretChat)
UpdateUserFullInfo(UpdateUserFullInfo)
UpdateBasicGroupFullInfo(UpdateBasicGroupFullInfo)
UpdateSupergroupFullInfo(UpdateSupergroupFullInfo)
UpdateServiceNotification(UpdateServiceNotification)
UpdateFile(UpdateFile)
UpdateFileGenerationStart(UpdateFileGenerationStart)
UpdateFileGenerationStop(UpdateFileGenerationStop)
UpdateCall(UpdateCall)
UpdateUserPrivacySettingRules(UpdateUserPrivacySettingRules)
UpdateUnreadMessageCount(UpdateUnreadMessageCount)
UpdateUnreadChatCount(UpdateUnreadChatCount)
UpdateOption(UpdateOption)
UpdateInstalledStickerSets(UpdateInstalledStickerSets)
UpdateTrendingStickerSets(UpdateTrendingStickerSets)
UpdateRecentStickers(UpdateRecentStickers)
UpdateFavoriteStickers(UpdateFavoriteStickers)
UpdateSavedAnimations(UpdateSavedAnimations)
UpdateLanguagePackStrings(UpdateLanguagePackStrings)
UpdateConnectionState(UpdateConnectionState)
UpdateTermsOfService(UpdateTermsOfService)
UpdateNewInlineQuery(UpdateNewInlineQuery)
UpdateNewChosenInlineResult(UpdateNewChosenInlineResult)
UpdateNewCallbackQuery(UpdateNewCallbackQuery)
UpdateNewInlineCallbackQuery(UpdateNewInlineCallbackQuery)
UpdateNewShippingQuery(UpdateNewShippingQuery)
UpdateNewPreCheckoutQuery(UpdateNewPreCheckoutQuery)
UpdateNewCustomEvent(UpdateNewCustomEvent)
UpdateNewCustomQuery(UpdateNewCustomQuery)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Update
impl<'de> Deserialize<'de> for Update
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more