Enum clacks::mtproto::Update
[−]
[src]
pub enum Update { updateNewMessage(updateNewMessage), updateMessageID(updateMessageID), updateDeleteMessages(updateDeleteMessages), updateUserTyping(updateUserTyping), updateChatUserTyping(updateChatUserTyping), updateChatParticipants(updateChatParticipants), updateUserStatus(updateUserStatus), updateUserName(updateUserName), updateUserPhoto(updateUserPhoto), updateContactRegistered(updateContactRegistered), updateContactLink(updateContactLink), updateNewEncryptedMessage(updateNewEncryptedMessage), updateEncryptedChatTyping(updateEncryptedChatTyping), updateEncryption(updateEncryption), updateEncryptedMessagesRead(updateEncryptedMessagesRead), updateChatParticipantAdd(updateChatParticipantAdd), updateChatParticipantDelete(updateChatParticipantDelete), updateDcOptions(updateDcOptions), updateUserBlocked(updateUserBlocked), updateNotifySettings(updateNotifySettings), updateServiceNotification(updateServiceNotification), updatePrivacy(updatePrivacy), updateUserPhone(updateUserPhone), updateReadHistoryInbox(updateReadHistoryInbox), updateReadHistoryOutbox(updateReadHistoryOutbox), updateWebPage(updateWebPage), updateReadMessagesContents(updateReadMessagesContents), updateChannelTooLong(updateChannelTooLong), updateChannel(updateChannel), updateNewChannelMessage(updateNewChannelMessage), updateReadChannelInbox(updateReadChannelInbox), updateDeleteChannelMessages(updateDeleteChannelMessages), updateChannelMessageViews(updateChannelMessageViews), updateChatAdmins(updateChatAdmins), updateChatParticipantAdmin(updateChatParticipantAdmin), updateNewStickerSet(updateNewStickerSet), updateStickerSetsOrder(updateStickerSetsOrder), updateStickerSets, updateSavedGifs, updateBotInlineQuery(updateBotInlineQuery), updateBotInlineSend(updateBotInlineSend), updateEditChannelMessage(updateEditChannelMessage), updateChannelPinnedMessage(updateChannelPinnedMessage), updateBotCallbackQuery(updateBotCallbackQuery), updateEditMessage(updateEditMessage), updateInlineBotCallbackQuery(updateInlineBotCallbackQuery), updateReadChannelOutbox(updateReadChannelOutbox), updateDraftMessage(updateDraftMessage), updateReadFeaturedStickers, updateRecentStickers, updateConfig, updatePtsChanged, updateChannelWebPage(updateChannelWebPage), updateDialogPinned(updateDialogPinned), updatePinnedDialogs(updatePinnedDialogs), updateBotWebhookJSON(updateBotWebhookJSON), updateBotWebhookJSONQuery(updateBotWebhookJSONQuery), updateBotShippingQuery(updateBotShippingQuery), updateBotPrecheckoutQuery(updateBotPrecheckoutQuery), updatePhoneCall(updatePhoneCall), updateLangPackTooLong, updateLangPack(updateLangPack), updateFavedStickers, updateChannelReadMessagesContents(updateChannelReadMessagesContents), updateContactsReset, updateChannelAvailableMessages(updateChannelAvailableMessages), }
Variants
updateNewMessage(updateNewMessage)
updateMessageID(updateMessageID)
updateDeleteMessages(updateDeleteMessages)
updateUserTyping(updateUserTyping)
updateChatUserTyping(updateChatUserTyping)
updateChatParticipants(updateChatParticipants)
updateUserStatus(updateUserStatus)
updateUserName(updateUserName)
updateUserPhoto(updateUserPhoto)
updateContactRegistered(updateContactRegistered)
updateContactLink(updateContactLink)
updateNewEncryptedMessage(updateNewEncryptedMessage)
updateEncryptedChatTyping(updateEncryptedChatTyping)
updateEncryption(updateEncryption)
updateEncryptedMessagesRead(updateEncryptedMessagesRead)
updateChatParticipantAdd(updateChatParticipantAdd)
updateChatParticipantDelete(updateChatParticipantDelete)
updateDcOptions(updateDcOptions)
updateUserBlocked(updateUserBlocked)
updateNotifySettings(updateNotifySettings)
updateServiceNotification(updateServiceNotification)
updatePrivacy(updatePrivacy)
updateUserPhone(updateUserPhone)
updateReadHistoryInbox(updateReadHistoryInbox)
updateReadHistoryOutbox(updateReadHistoryOutbox)
updateWebPage(updateWebPage)
updateReadMessagesContents(updateReadMessagesContents)
updateChannelTooLong(updateChannelTooLong)
updateChannel(updateChannel)
updateNewChannelMessage(updateNewChannelMessage)
updateReadChannelInbox(updateReadChannelInbox)
updateDeleteChannelMessages(updateDeleteChannelMessages)
updateChannelMessageViews(updateChannelMessageViews)
updateChatAdmins(updateChatAdmins)
updateChatParticipantAdmin(updateChatParticipantAdmin)
updateNewStickerSet(updateNewStickerSet)
updateStickerSetsOrder(updateStickerSetsOrder)
updateStickerSets
updateSavedGifs
updateBotInlineQuery(updateBotInlineQuery)
updateBotInlineSend(updateBotInlineSend)
updateEditChannelMessage(updateEditChannelMessage)
updateChannelPinnedMessage(updateChannelPinnedMessage)
updateBotCallbackQuery(updateBotCallbackQuery)
updateEditMessage(updateEditMessage)
updateInlineBotCallbackQuery(updateInlineBotCallbackQuery)
updateReadChannelOutbox(updateReadChannelOutbox)
updateDraftMessage(updateDraftMessage)
updateReadFeaturedStickers
updateRecentStickers
updateConfig
updatePtsChanged
updateChannelWebPage(updateChannelWebPage)
updateDialogPinned(updateDialogPinned)
updatePinnedDialogs(updatePinnedDialogs)
updateBotWebhookJSON(updateBotWebhookJSON)
updateBotWebhookJSONQuery(updateBotWebhookJSONQuery)
updateBotShippingQuery(updateBotShippingQuery)
updateBotPrecheckoutQuery(updateBotPrecheckoutQuery)
updatePhoneCall(updatePhoneCall)
updateLangPackTooLong
updateLangPack(updateLangPack)
updateFavedStickers
updateChannelReadMessagesContents(updateChannelReadMessagesContents)
updateContactsReset
updateChannelAvailableMessages(updateChannelAvailableMessages)
Trait Implementations
impl Debug for Update
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Update
[src]
fn clone(&self) -> Update
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BoxedSerialize for Update
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
impl BoxedDeserialize for Update
[src]
fn possible_constructors() -> Vec<ConstructorNumber>
[src]
fn deserialize_boxed(
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>
[src]
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>