import { type Api } from "https://deno.land/x/grm@0.8.0/src/mod.ts";
const { TypeUpdate } = Api;
definition:
| UpdateNewMessage
| UpdateMessageID
| UpdateDeleteMessages
| UpdateUserTyping
| UpdateChatUserTyping
| UpdateChatParticipants
| UpdateUserStatus
| UpdateUserName
| UpdateUserPhoto
| UpdateNewEncryptedMessage
| UpdateEncryptedChatTyping
| UpdateEncryption
| UpdateEncryptedMessagesRead
| UpdateChatParticipantAdd
| UpdateChatParticipantDelete
| UpdateDcOptions
| UpdateNotifySettings
| UpdateServiceNotification
| UpdatePrivacy
| UpdateUserPhone
| UpdateReadHistoryInbox
| UpdateReadHistoryOutbox
| UpdateWebPage
| UpdateReadMessagesContents
| UpdateChannelTooLong
| UpdateChannel
| UpdateNewChannelMessage
| UpdateReadChannelInbox
| UpdateDeleteChannelMessages
| UpdateChannelMessageViews
| UpdateChatParticipantAdmin
| UpdateNewStickerSet
| UpdateStickerSetsOrder
| UpdateStickerSets
| UpdateSavedGifs
| UpdateBotInlineQuery
| UpdateBotInlineSend
| UpdateEditChannelMessage
| UpdateBotCallbackQuery
| UpdateEditMessage
| UpdateInlineBotCallbackQuery
| UpdateReadChannelOutbox
| UpdateDraftMessage
| UpdateReadFeaturedStickers
| UpdateRecentStickers
| UpdateConfig
| UpdatePtsChanged
| UpdateChannelWebPage
| UpdateDialogPinned
| UpdatePinnedDialogs
| UpdateBotWebhookJSON
| UpdateBotWebhookJSONQuery
| UpdateBotShippingQuery
| UpdateBotPrecheckoutQuery
| UpdatePhoneCall
| UpdateLangPackTooLong
| UpdateLangPack
| UpdateFavedStickers
| UpdateChannelReadMessagesContents
| UpdateContactsReset
| UpdateChannelAvailableMessages
| UpdateDialogUnreadMark
| UpdateMessagePoll
| UpdateChatDefaultBannedRights
| UpdateFolderPeers
| UpdatePeerSettings
| UpdatePeerLocated
| UpdateNewScheduledMessage
| UpdateDeleteScheduledMessages
| UpdateTheme
| UpdateGeoLiveViewed
| UpdateLoginToken
| UpdateMessagePollVote
| UpdateDialogFilter
| UpdateDialogFilterOrder
| UpdateDialogFilters
| UpdatePhoneCallSignalingData
| UpdateChannelMessageForwards
| UpdateReadChannelDiscussionInbox
| UpdateReadChannelDiscussionOutbox
| UpdatePeerBlocked
| UpdateChannelUserTyping
| UpdatePinnedMessages
| UpdatePinnedChannelMessages
| UpdateChat
| UpdateGroupCallParticipants
| UpdateGroupCall
| UpdatePeerHistoryTTL
| UpdateChatParticipant
| UpdateChannelParticipant
| UpdateBotStopped
| UpdateGroupCallConnection
| UpdateBotCommands
| UpdatePendingJoinRequests
| UpdateBotChatInviteRequester
| UpdateMessageReactions
| UpdateAttachMenuBots
| UpdateWebViewResultSent
| UpdateBotMenuButton
| UpdateSavedRingtones
| UpdateTranscribedAudio
| UpdateReadFeaturedEmojiStickers
| UpdateUserEmojiStatus
| UpdateRecentEmojiStatuses
| UpdateRecentReactions
| UpdateMoveStickerSetToTop
| UpdateMessageExtendedMedia
| UpdateChannelPinnedTopic
| UpdateChannelPinnedTopics