payments.PaymentResult

class pyrogram.raw.types.payments.PaymentResult

Payment result

Constructor of PaymentResult.

Details:
  • Layer: 227

  • ID: 4E5F810D

Parameters:

updates (Updates) – Info about the payment

Functions:

This object can be returned by 2 functions.

payments.SendPaymentForm

Send compiled payment form

payments.SendStarsForm

Make a payment using Telegram Stars, see here » for more info.

TL Schema

payments.paymentResult#4e5f810d
updates:Updates

= payments.PaymentResult

Parameter Tree

PaymentResult
└── updates → Updates
├── UpdatesTooLong
│ ├── out → true (optional)
│ ├── mentioned → true (optional)
│ ├── media_unread → true (optional)
│ ├── silent → true (optional)
│ ├── id → int
│ ├── user_id → long
│ ├── message → string
│ ├── pts → int
│ ├── pts_count → int
│ ├── date → int
│ ├── fwd_from → MessageFwdHeader (optional)
│ │ └── MessageFwdHeader
│ │ ├── imported → true (optional)
│ │ ├── saved_out → true (optional)
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── from_name → string (optional)
│ │ ├── date → int
│ │ ├── channel_post → int (optional)
│ │ ├── post_author → string (optional)
│ │ ├── saved_from_peer → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_from_msg_id → int (optional)
│ │ ├── saved_from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_from_name → string (optional)
│ │ ├── saved_date → int (optional)
│ │ └── psa_type → string (optional)
│ ├── via_bot_id → long (optional)
│ ├── reply_to → MessageReplyHeader (optional)
│ │ ├── MessageReplyHeader
│ │ │ ├── reply_to_scheduled → true (optional)
│ │ │ ├── forum_topic → true (optional)
│ │ │ ├── quote → true (optional)
│ │ │ ├── reply_to_ephemeral → true (optional)
│ │ │ ├── reply_to_msg_id → int (optional)
│ │ │ ├── reply_to_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── reply_media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_to_top_id → int (optional)
│ │ │ ├── quote_text → string (optional)
│ │ │ ├── quote_entities → Vector < MessageEntity > (optional)
│ │ │ │ ├── MessageEntityUnknown
│ │ │ │ ├── MessageEntityMention
│ │ │ │ ├── MessageEntityHashtag
│ │ │ │ ├── MessageEntityBotCommand
│ │ │ │ ├── MessageEntityUrl
│ │ │ │ ├── MessageEntityEmail
│ │ │ │ ├── MessageEntityBold
│ │ │ │ ├── MessageEntityItalic
│ │ │ │ ├── MessageEntityCode
│ │ │ │ ├── MessageEntityPre
│ │ │ │ ├── MessageEntityTextUrl
│ │ │ │ ├── MessageEntityMentionName
│ │ │ │ ├── InputMessageEntityMentionName
│ │ │ │ ├── MessageEntityPhone
│ │ │ │ ├── MessageEntityCashtag
│ │ │ │ ├── MessageEntityUnderline
│ │ │ │ ├── MessageEntityStrike
│ │ │ │ ├── MessageEntityBankCard
│ │ │ │ ├── MessageEntitySpoiler
│ │ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ ├── MessageEntityBlockquote
│ │ │ │ ├── MessageEntityFormattedDate
│ │ │ │ ├── MessageEntityDiffInsert
│ │ │ │ ├── MessageEntityDiffReplace
│ │ │ │ └── MessageEntityDiffDelete
│ │ │ ├── quote_offset → int (optional)
│ │ │ ├── todo_item_id → int (optional)
│ │ │ └── poll_option → bytes (optional)
│ │ └── MessageReplyStoryHeader
│ │ ├── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ └── story_id → int
│ ├── entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityMention
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityHashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBotCommand
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUrl
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityEmail
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBold
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityItalic
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCode
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityPre
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── language → string
│ │ ├── MessageEntityTextUrl
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── url → string
│ │ ├── MessageEntityMentionName
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → long
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → InputUser
│ │ │ ├── InputUserEmpty
│ │ │ ├── InputUserSelf
│ │ │ ├── InputUser
│ │ │ └── InputUserFromMessage
│ │ ├── MessageEntityPhone
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUnderline
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityStrike
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBankCard
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntitySpoiler
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCustomEmoji
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── document_id → long
│ │ ├── MessageEntityBlockquote
│ │ │ ├── collapsed → true (optional)
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityFormattedDate
│ │ │ ├── relative → true (optional)
│ │ │ ├── short_time → true (optional)
│ │ │ ├── long_time → true (optional)
│ │ │ ├── short_date → true (optional)
│ │ │ ├── long_date → true (optional)
│ │ │ ├── day_of_week → true (optional)
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── date → int
│ │ ├── MessageEntityDiffInsert
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityDiffReplace
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── old_text → string
│ │ └── MessageEntityDiffDelete
│ │ ├── offset → int
│ │ └── length → int
│ └── ttl_period → int (optional)
│ ├── out → true (optional)
│ ├── mentioned → true (optional)
│ ├── media_unread → true (optional)
│ ├── silent → true (optional)
│ ├── id → int
│ ├── from_id → long
│ ├── chat_id → long
│ ├── message → string
│ ├── pts → int
│ ├── pts_count → int
│ ├── date → int
│ ├── fwd_from → MessageFwdHeader (optional)
│ │ └── MessageFwdHeader
│ │ ├── imported → true (optional)
│ │ ├── saved_out → true (optional)
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── from_name → string (optional)
│ │ ├── date → int
│ │ ├── channel_post → int (optional)
│ │ ├── post_author → string (optional)
│ │ ├── saved_from_peer → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_from_msg_id → int (optional)
│ │ ├── saved_from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_from_name → string (optional)
│ │ ├── saved_date → int (optional)
│ │ └── psa_type → string (optional)
│ ├── via_bot_id → long (optional)
│ ├── reply_to → MessageReplyHeader (optional)
│ │ ├── MessageReplyHeader
│ │ │ ├── reply_to_scheduled → true (optional)
│ │ │ ├── forum_topic → true (optional)
│ │ │ ├── quote → true (optional)
│ │ │ ├── reply_to_ephemeral → true (optional)
│ │ │ ├── reply_to_msg_id → int (optional)
│ │ │ ├── reply_to_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── reply_media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_to_top_id → int (optional)
│ │ │ ├── quote_text → string (optional)
│ │ │ ├── quote_entities → Vector < MessageEntity > (optional)
│ │ │ │ ├── MessageEntityUnknown
│ │ │ │ ├── MessageEntityMention
│ │ │ │ ├── MessageEntityHashtag
│ │ │ │ ├── MessageEntityBotCommand
│ │ │ │ ├── MessageEntityUrl
│ │ │ │ ├── MessageEntityEmail
│ │ │ │ ├── MessageEntityBold
│ │ │ │ ├── MessageEntityItalic
│ │ │ │ ├── MessageEntityCode
│ │ │ │ ├── MessageEntityPre
│ │ │ │ ├── MessageEntityTextUrl
│ │ │ │ ├── MessageEntityMentionName
│ │ │ │ ├── InputMessageEntityMentionName
│ │ │ │ ├── MessageEntityPhone
│ │ │ │ ├── MessageEntityCashtag
│ │ │ │ ├── MessageEntityUnderline
│ │ │ │ ├── MessageEntityStrike
│ │ │ │ ├── MessageEntityBankCard
│ │ │ │ ├── MessageEntitySpoiler
│ │ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ ├── MessageEntityBlockquote
│ │ │ │ ├── MessageEntityFormattedDate
│ │ │ │ ├── MessageEntityDiffInsert
│ │ │ │ ├── MessageEntityDiffReplace
│ │ │ │ └── MessageEntityDiffDelete
│ │ │ ├── quote_offset → int (optional)
│ │ │ ├── todo_item_id → int (optional)
│ │ │ └── poll_option → bytes (optional)
│ │ └── MessageReplyStoryHeader
│ │ ├── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ └── story_id → int
│ ├── entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityMention
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityHashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBotCommand
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUrl
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityEmail
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBold
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityItalic
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCode
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityPre
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── language → string
│ │ ├── MessageEntityTextUrl
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── url → string
│ │ ├── MessageEntityMentionName
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → long
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → InputUser
│ │ │ ├── InputUserEmpty
│ │ │ ├── InputUserSelf
│ │ │ ├── InputUser
│ │ │ └── InputUserFromMessage
│ │ ├── MessageEntityPhone
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUnderline
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityStrike
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBankCard
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntitySpoiler
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCustomEmoji
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── document_id → long
│ │ ├── MessageEntityBlockquote
│ │ │ ├── collapsed → true (optional)
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityFormattedDate
│ │ │ ├── relative → true (optional)
│ │ │ ├── short_time → true (optional)
│ │ │ ├── long_time → true (optional)
│ │ │ ├── short_date → true (optional)
│ │ │ ├── long_date → true (optional)
│ │ │ ├── day_of_week → true (optional)
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── date → int
│ │ ├── MessageEntityDiffInsert
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityDiffReplace
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── old_text → string
│ │ └── MessageEntityDiffDelete
│ │ ├── offset → int
│ │ └── length → int
│ └── ttl_period → int (optional)
├── UpdateShort
│ ├── update → Update
│ │ ├── UpdateNewMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateMessageID
│ │ │ ├── id → int
│ │ │ └── random_id → long
│ │ ├── UpdateDeleteMessages
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateUserTyping
│ │ │ ├── user_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdateChatUserTyping
│ │ │ ├── chat_id → long
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdateChatParticipants
│ │ │ └── participants → ChatParticipants
│ │ │ ├── ChatParticipantsForbidden
│ │ │ └── ChatParticipants
│ │ ├── UpdateUserStatus
│ │ │ ├── user_id → long
│ │ │ └── status → UserStatus
│ │ │ ├── UserStatusEmpty
│ │ │ ├── UserStatusOnline
│ │ │ ├── UserStatusOffline
│ │ │ ├── UserStatusRecently
│ │ │ ├── UserStatusLastWeek
│ │ │ └── UserStatusLastMonth
│ │ ├── UpdateUserName
│ │ │ ├── user_id → long
│ │ │ ├── first_name → string
│ │ │ ├── last_name → string
│ │ │ └── usernames → Vector < Username >
│ │ │ └── Username
│ │ ├── UpdateNewAuthorization
│ │ │ ├── unconfirmed → true (optional)
│ │ │ ├── hash → long
│ │ │ ├── date → int (optional)
│ │ │ ├── device → string (optional)
│ │ │ └── location → string (optional)
│ │ ├── UpdateNewEncryptedMessage
│ │ │ ├── message → EncryptedMessage
│ │ │ │ ├── EncryptedMessage
│ │ │ │ └── EncryptedMessageService
│ │ │ └── qts → int
│ │ ├── UpdateEncryptedChatTyping
│ │ │ └── chat_id → int
│ │ ├── UpdateEncryption
│ │ │ ├── chat → EncryptedChat
│ │ │ │ ├── EncryptedChatEmpty
│ │ │ │ ├── EncryptedChatWaiting
│ │ │ │ ├── EncryptedChatRequested
│ │ │ │ ├── EncryptedChat
│ │ │ │ └── EncryptedChatDiscarded
│ │ │ └── date → int
│ │ ├── UpdateEncryptedMessagesRead
│ │ │ ├── chat_id → int
│ │ │ ├── max_date → int
│ │ │ └── date → int
│ │ ├── UpdateChatParticipantAdd
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ └── version → int
│ │ ├── UpdateChatParticipantDelete
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ └── version → int
│ │ ├── UpdateDcOptions
│ │ │ └── dc_options → Vector < DcOption >
│ │ │ └── DcOption
│ │ ├── UpdateNotifySettings
│ │ │ ├── peer → NotifyPeer
│ │ │ │ ├── NotifyPeer
│ │ │ │ ├── NotifyUsers
│ │ │ │ ├── NotifyChats
│ │ │ │ ├── NotifyBroadcasts
│ │ │ │ └── NotifyForumTopic
│ │ │ └── notify_settings → PeerNotifySettings
│ │ │ └── PeerNotifySettings
│ │ ├── UpdateServiceNotification
│ │ │ ├── popup → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── inbox_date → int (optional)
│ │ │ ├── type → string
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ └── entities → Vector < MessageEntity >
│ │ │ ├── MessageEntityUnknown
│ │ │ ├── MessageEntityMention
│ │ │ ├── MessageEntityHashtag
│ │ │ ├── MessageEntityBotCommand
│ │ │ ├── MessageEntityUrl
│ │ │ ├── MessageEntityEmail
│ │ │ ├── MessageEntityBold
│ │ │ ├── MessageEntityItalic
│ │ │ ├── MessageEntityCode
│ │ │ ├── MessageEntityPre
│ │ │ ├── MessageEntityTextUrl
│ │ │ ├── MessageEntityMentionName
│ │ │ ├── InputMessageEntityMentionName
│ │ │ ├── MessageEntityPhone
│ │ │ ├── MessageEntityCashtag
│ │ │ ├── MessageEntityUnderline
│ │ │ ├── MessageEntityStrike
│ │ │ ├── MessageEntityBankCard
│ │ │ ├── MessageEntitySpoiler
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ ├── MessageEntityBlockquote
│ │ │ ├── MessageEntityFormattedDate
│ │ │ ├── MessageEntityDiffInsert
│ │ │ ├── MessageEntityDiffReplace
│ │ │ └── MessageEntityDiffDelete
│ │ ├── UpdatePrivacy
│ │ │ ├── key → PrivacyKey
│ │ │ │ ├── PrivacyKeyStatusTimestamp
│ │ │ │ ├── PrivacyKeyChatInvite
│ │ │ │ ├── PrivacyKeyPhoneCall
│ │ │ │ ├── PrivacyKeyPhoneP2P
│ │ │ │ ├── PrivacyKeyForwards
│ │ │ │ ├── PrivacyKeyProfilePhoto
│ │ │ │ ├── PrivacyKeyPhoneNumber
│ │ │ │ ├── PrivacyKeyAddedByPhone
│ │ │ │ ├── PrivacyKeyVoiceMessages
│ │ │ │ ├── PrivacyKeyAbout
│ │ │ │ ├── PrivacyKeyBirthday
│ │ │ │ ├── PrivacyKeyStarGiftsAutoSave
│ │ │ │ ├── PrivacyKeyNoPaidMessages
│ │ │ │ └── PrivacyKeySavedMusic
│ │ │ └── rules → Vector < PrivacyRule >
│ │ │ ├── PrivacyValueAllowContacts
│ │ │ ├── PrivacyValueAllowAll
│ │ │ ├── PrivacyValueAllowUsers
│ │ │ ├── PrivacyValueDisallowContacts
│ │ │ ├── PrivacyValueDisallowAll
│ │ │ ├── PrivacyValueDisallowUsers
│ │ │ ├── PrivacyValueAllowChatParticipants
│ │ │ ├── PrivacyValueAllowCloseFriends
│ │ │ ├── PrivacyValueAllowPremium
│ │ │ ├── PrivacyValueAllowBots
│ │ │ └── PrivacyValueDisallowBots
│ │ ├── UpdateUserPhone
│ │ │ ├── user_id → long
│ │ │ └── phone → string
│ │ ├── UpdateReadHistoryInbox
│ │ │ ├── folder_id → int (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── max_id → int
│ │ │ ├── still_unread_count → int
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadHistoryOutbox
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── max_id → int
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateWebPage
│ │ │ ├── webpage → WebPage
│ │ │ │ ├── WebPageEmpty
│ │ │ │ ├── WebPagePending
│ │ │ │ ├── WebPage
│ │ │ │ └── WebPageNotModified
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadMessagesContents
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ ├── pts_count → int
│ │ │ └── date → int (optional)
│ │ ├── UpdateChannelTooLong
│ │ │ ├── channel_id → long
│ │ │ └── pts → int (optional)
│ │ ├── UpdateChannel
│ │ │ └── channel_id → long
│ │ ├── UpdateNewChannelMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadChannelInbox
│ │ │ ├── folder_id → int (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── max_id → int
│ │ │ ├── still_unread_count → int
│ │ │ └── pts → int
│ │ ├── UpdateDeleteChannelMessages
│ │ │ ├── channel_id → long
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateChannelMessageViews
│ │ │ ├── channel_id → long
│ │ │ ├── id → int
│ │ │ └── views → int
│ │ ├── UpdateChatParticipantAdmin
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── is_admin → Bool
│ │ │ └── version → int
│ │ ├── UpdateNewStickerSet
│ │ │ └── stickerset → messages.StickerSet
│ │ │ ├── messages.StickerSet
│ │ │ └── messages.StickerSetNotModified
│ │ ├── UpdateStickerSetsOrder
│ │ │ ├── masks → true (optional)
│ │ │ ├── emojis → true (optional)
│ │ │ └── order → Vector < long >
│ │ ├── UpdateStickerSets
│ │ │ ├── masks → true (optional)
│ │ │ └── emojis → true (optional)
│ │ ├── UpdateSavedGifs
│ │ ├── UpdateBotInlineQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── query → string
│ │ │ ├── geo → GeoPoint (optional)
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── peer_type → InlineQueryPeerType (optional)
│ │ │ │ ├── InlineQueryPeerTypeSameBotPM
│ │ │ │ ├── InlineQueryPeerTypePM
│ │ │ │ ├── InlineQueryPeerTypeChat
│ │ │ │ ├── InlineQueryPeerTypeMegagroup
│ │ │ │ ├── InlineQueryPeerTypeBroadcast
│ │ │ │ └── InlineQueryPeerTypeBotPM
│ │ │ └── offset → string
│ │ ├── UpdateBotInlineSend
│ │ │ ├── user_id → long
│ │ │ ├── query → string
│ │ │ ├── geo → GeoPoint (optional)
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── id → string
│ │ │ └── msg_id → InputBotInlineMessageID (optional)
│ │ │ ├── InputBotInlineMessageID
│ │ │ └── InputBotInlineMessageID64
│ │ ├── UpdateEditChannelMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateBotCallbackQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── chat_instance → long
│ │ │ ├── data → bytes (optional)
│ │ │ └── game_short_name → string (optional)
│ │ ├── UpdateEditMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── msg_id → InputBotInlineMessageID
│ │ │ │ ├── InputBotInlineMessageID
│ │ │ │ └── InputBotInlineMessageID64
│ │ │ ├── chat_instance → long
│ │ │ ├── data → bytes (optional)
│ │ │ └── game_short_name → string (optional)
│ │ ├── UpdateReadChannelOutbox
│ │ │ ├── channel_id → long
│ │ │ └── max_id → int
│ │ ├── UpdateDraftMessage
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── draft → DraftMessage
│ │ │ ├── DraftMessageEmpty
│ │ │ └── DraftMessage
│ │ ├── UpdateReadFeaturedStickers
│ │ ├── UpdateRecentStickers
│ │ ├── UpdateConfig
│ │ ├── UpdatePtsChanged
│ │ ├── UpdateChannelWebPage
│ │ │ ├── channel_id → long
│ │ │ ├── webpage → WebPage
│ │ │ │ ├── WebPageEmpty
│ │ │ │ ├── WebPagePending
│ │ │ │ ├── WebPage
│ │ │ │ └── WebPageNotModified
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateDialogPinned
│ │ │ ├── pinned → true (optional)
│ │ │ ├── folder_id → int (optional)
│ │ │ └── peer → DialogPeer
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdatePinnedDialogs
│ │ │ ├── folder_id → int (optional)
│ │ │ └── order → Vector < DialogPeer > (optional)
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdateBotWebhookJSON
│ │ │ └── data → DataJSON
│ │ │ └── DataJSON
│ │ ├── UpdateBotWebhookJSONQuery
│ │ │ ├── query_id → long
│ │ │ ├── data → DataJSON
│ │ │ │ └── DataJSON
│ │ │ └── timeout → int
│ │ ├── UpdateBotShippingQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── payload → bytes
│ │ │ └── shipping_address → PostAddress
│ │ │ └── PostAddress
│ │ ├── UpdateBotPrecheckoutQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── payload → bytes
│ │ │ ├── info → PaymentRequestedInfo (optional)
│ │ │ │ └── PaymentRequestedInfo
│ │ │ ├── shipping_option_id → string (optional)
│ │ │ ├── currency → string
│ │ │ └── total_amount → long
│ │ ├── UpdatePhoneCall
│ │ │ └── phone_call → PhoneCall
│ │ │ ├── PhoneCallEmpty
│ │ │ ├── PhoneCallWaiting
│ │ │ ├── PhoneCallRequested
│ │ │ ├── PhoneCallAccepted
│ │ │ ├── PhoneCall
│ │ │ └── PhoneCallDiscarded
│ │ ├── UpdateLangPackTooLong
│ │ │ └── lang_code → string
│ │ ├── UpdateLangPack
│ │ │ └── difference → LangPackDifference
│ │ │ └── LangPackDifference
│ │ ├── UpdateFavedStickers
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateContactsReset
│ │ │ ├── channel_id → long
│ │ │ └── available_min_id → int
│ │ ├── UpdateDialogUnreadMark
│ │ │ ├── unread → true (optional)
│ │ │ ├── peer → DialogPeer
│ │ │ │ ├── DialogPeer
│ │ │ │ └── DialogPeerFolder
│ │ │ └── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateMessagePoll
│ │ │ ├── peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int (optional)
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── poll_id → long
│ │ │ ├── poll → Poll (optional)
│ │ │ │ └── Poll
│ │ │ └── results → PollResults
│ │ │ └── PollResults
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── default_banned_rights → ChatBannedRights
│ │ │ │ └── ChatBannedRights
│ │ │ └── version → int
│ │ ├── UpdateFolderPeers
│ │ │ ├── folder_peers → Vector < FolderPeer >
│ │ │ │ └── FolderPeer
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdatePeerSettings
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── settings → PeerSettings
│ │ │ └── PeerSettings
│ │ ├── UpdatePeerLocated
│ │ │ └── peers → Vector < PeerLocated >
│ │ │ ├── PeerLocated
│ │ │ └── PeerSelfLocated
│ │ ├── UpdateNewScheduledMessage
│ │ │ └── message → Message
│ │ │ ├── MessageEmpty
│ │ │ ├── Message
│ │ │ └── MessageService
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ └── sent_messages → Vector < int > (optional)
│ │ ├── UpdateTheme
│ │ │ └── theme → Theme
│ │ │ └── Theme
│ │ ├── UpdateGeoLiveViewed
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── msg_id → int
│ │ ├── UpdateLoginToken
│ │ ├── UpdateMessagePollVote
│ │ │ ├── poll_id → long
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── options → Vector < bytes >
│ │ │ ├── positions → Vector < int >
│ │ │ └── qts → int
│ │ ├── UpdateDialogFilter
│ │ │ ├── id → int
│ │ │ └── filter → DialogFilter (optional)
│ │ │ ├── DialogFilter
│ │ │ ├── DialogFilterDefault
│ │ │ └── DialogFilterChatlist
│ │ ├── UpdateDialogFilterOrder
│ │ │ └── order → Vector < int >
│ │ ├── UpdateDialogFilters
│ │ │ ├── phone_call_id → long
│ │ │ └── data → bytes
│ │ │ ├── channel_id → long
│ │ │ ├── id → int
│ │ │ └── forwards → int
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int
│ │ │ ├── read_max_id → int
│ │ │ ├── broadcast_id → long (optional)
│ │ │ └── broadcast_post → int (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int
│ │ │ └── read_max_id → int
│ │ ├── UpdatePeerBlocked
│ │ │ ├── blocked → true (optional)
│ │ │ ├── blocked_my_stories_from → true (optional)
│ │ │ └── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateChannelUserTyping
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdatePinnedMessages
│ │ │ ├── pinned → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdatePinnedChannelMessages
│ │ │ ├── pinned → true (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateChat
│ │ │ └── chat_id → long
│ │ ├── UpdateGroupCallParticipants
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── participants → Vector < GroupCallParticipant >
│ │ │ │ └── GroupCallParticipant
│ │ │ └── version → int
│ │ ├── UpdateGroupCall
│ │ │ ├── live_story → true (optional)
│ │ │ ├── peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── call → GroupCall
│ │ │ ├── GroupCallDiscarded
│ │ │ └── GroupCall
│ │ ├── UpdatePeerHistoryTTL
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── ttl_period → int (optional)
│ │ ├── UpdateChatParticipant
│ │ │ ├── chat_id → long
│ │ │ ├── date → int
│ │ │ ├── actor_id → long
│ │ │ ├── user_id → long
│ │ │ ├── prev_participant → ChatParticipant (optional)
│ │ │ │ ├── ChatParticipant
│ │ │ │ ├── ChatParticipantCreator
│ │ │ │ └── ChatParticipantAdmin
│ │ │ ├── new_participant → ChatParticipant (optional)
│ │ │ │ ├── ChatParticipant
│ │ │ │ ├── ChatParticipantCreator
│ │ │ │ └── ChatParticipantAdmin
│ │ │ ├── invite → ExportedChatInvite (optional)
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ └── qts → int
│ │ ├── UpdateChannelParticipant
│ │ │ ├── via_chatlist → true (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── date → int
│ │ │ ├── actor_id → long
│ │ │ ├── user_id → long
│ │ │ ├── prev_participant → ChannelParticipant (optional)
│ │ │ │ ├── ChannelParticipant
│ │ │ │ ├── ChannelParticipantSelf
│ │ │ │ ├── ChannelParticipantCreator
│ │ │ │ ├── ChannelParticipantAdmin
│ │ │ │ ├── ChannelParticipantBanned
│ │ │ │ └── ChannelParticipantLeft
│ │ │ ├── new_participant → ChannelParticipant (optional)
│ │ │ │ ├── ChannelParticipant
│ │ │ │ ├── ChannelParticipantSelf
│ │ │ │ ├── ChannelParticipantCreator
│ │ │ │ ├── ChannelParticipantAdmin
│ │ │ │ ├── ChannelParticipantBanned
│ │ │ │ └── ChannelParticipantLeft
│ │ │ ├── invite → ExportedChatInvite (optional)
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ └── qts → int
│ │ ├── UpdateBotStopped
│ │ │ ├── user_id → long
│ │ │ ├── date → int
│ │ │ ├── stopped → Bool
│ │ │ └── qts → int
│ │ ├── UpdateGroupCallConnection
│ │ │ ├── presentation → true (optional)
│ │ │ └── params → DataJSON
│ │ │ └── DataJSON
│ │ ├── UpdateBotCommands
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── bot_id → long
│ │ │ └── commands → Vector < BotCommand >
│ │ │ └── BotCommand
│ │ ├── UpdatePendingJoinRequests
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── requests_pending → int
│ │ │ └── recent_requesters → Vector < long >
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── date → int
│ │ │ ├── user_id → long
│ │ │ ├── about → string
│ │ │ ├── invite → ExportedChatInvite
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ ├── qts → int
│ │ │ └── query_id → long (optional)
│ │ ├── UpdateMessageReactions
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── reactions → MessageReactions
│ │ │ └── MessageReactions
│ │ ├── UpdateAttachMenuBots
│ │ ├── UpdateWebViewResultSent
│ │ │ └── query_id → long
│ │ ├── UpdateBotMenuButton
│ │ │ ├── bot_id → long
│ │ │ └── button → BotMenuButton
│ │ │ ├── BotMenuButtonDefault
│ │ │ ├── BotMenuButtonCommands
│ │ │ └── BotMenuButton
│ │ ├── UpdateSavedRingtones
│ │ ├── UpdateTranscribedAudio
│ │ │ ├── pending → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── transcription_id → long
│ │ │ └── text → string
│ │ ├── UpdateUserEmojiStatus
│ │ │ ├── user_id → long
│ │ │ └── emoji_status → EmojiStatus
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ ├── EmojiStatusCollectible
│ │ │ └── InputEmojiStatusCollectible
│ │ ├── UpdateRecentEmojiStatuses
│ │ ├── UpdateRecentReactions
│ │ ├── UpdateMoveStickerSetToTop
│ │ │ ├── masks → true (optional)
│ │ │ ├── emojis → true (optional)
│ │ │ └── stickerset → long
│ │ ├── UpdateMessageExtendedMedia
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ └── extended_media → Vector < MessageExtendedMedia >
│ │ │ ├── MessageExtendedMediaPreview
│ │ │ └── MessageExtendedMedia
│ │ ├── UpdateUser
│ │ │ └── user_id → long
│ │ ├── UpdateAutoSaveSettings
│ │ ├── UpdateStory
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── story → StoryItem
│ │ │ ├── StoryItemDeleted
│ │ │ ├── StoryItemSkipped
│ │ │ └── StoryItem
│ │ ├── UpdateReadStories
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── max_id → int
│ │ ├── UpdateStoryID
│ │ │ ├── id → int
│ │ │ └── random_id → long
│ │ ├── UpdateStoriesStealthMode
│ │ │ └── stealth_mode → StoriesStealthMode
│ │ │ └── StoriesStealthMode
│ │ ├── UpdateSentStoryReaction
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── story_id → int
│ │ │ └── reaction → Reaction
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ ├── UpdateBotChatBoost
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── boost → Boost
│ │ │ │ └── Boost
│ │ │ └── qts → int
│ │ │ ├── channel_id → long
│ │ │ └── enabled → Bool
│ │ ├── UpdatePeerWallpaper
│ │ │ ├── wallpaper_overridden → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── wallpaper → WallPaper (optional)
│ │ │ ├── WallPaper
│ │ │ └── WallPaperNoFile
│ │ ├── UpdateBotMessageReaction
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── date → int
│ │ │ ├── actor → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── old_reactions → Vector < Reaction >
│ │ │ │ ├── ReactionEmpty
│ │ │ │ ├── ReactionEmoji
│ │ │ │ ├── ReactionCustomEmoji
│ │ │ │ └── ReactionPaid
│ │ │ ├── new_reactions → Vector < Reaction >
│ │ │ │ ├── ReactionEmpty
│ │ │ │ ├── ReactionEmoji
│ │ │ │ ├── ReactionCustomEmoji
│ │ │ │ └── ReactionPaid
│ │ │ └── qts → int
│ │ ├── UpdateBotMessageReactions
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── date → int
│ │ │ ├── reactions → Vector < ReactionCount >
│ │ │ │ └── ReactionCount
│ │ │ └── qts → int
│ │ ├── UpdateSavedDialogPinned
│ │ │ ├── pinned → true (optional)
│ │ │ └── peer → DialogPeer
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdatePinnedSavedDialogs
│ │ │ └── order → Vector < DialogPeer > (optional)
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdateSavedReactionTags
│ │ ├── UpdateSmsJob
│ │ │ └── job_id → string
│ │ ├── UpdateQuickReplies
│ │ │ └── quick_replies → Vector < QuickReply >
│ │ │ └── QuickReply
│ │ ├── UpdateNewQuickReply
│ │ │ └── quick_reply → QuickReply
│ │ │ └── QuickReply
│ │ ├── UpdateDeleteQuickReply
│ │ │ └── shortcut_id → int
│ │ ├── UpdateQuickReplyMessage
│ │ │ └── message → Message
│ │ │ ├── MessageEmpty
│ │ │ ├── Message
│ │ │ └── MessageService
│ │ │ ├── shortcut_id → int
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateBotBusinessConnect
│ │ │ ├── connection → BotBusinessConnection
│ │ │ │ └── BotBusinessConnection
│ │ │ └── qts → int
│ │ ├── UpdateBotNewBusinessMessage
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ │ ├── connection_id → string
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ └── qts → int
│ │ ├── UpdateNewStoryReaction
│ │ │ ├── story_id → int
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── reaction → Reaction
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ ├── UpdateStarsBalance
│ │ │ └── balance → StarsAmount
│ │ │ ├── StarsAmount
│ │ │ └── StarsTonAmount
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── chat_instance → long
│ │ │ └── data → bytes (optional)
│ │ ├── UpdateStarsRevenueStatus
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── status → StarsRevenueStatus
│ │ │ └── StarsRevenueStatus
│ │ ├── UpdateBotPurchasedPaidMedia
│ │ │ ├── user_id → long
│ │ │ ├── payload → string
│ │ │ └── qts → int
│ │ ├── UpdatePaidReactionPrivacy
│ │ │ └── private → PaidReactionPrivacy
│ │ │ ├── PaidReactionPrivacyDefault
│ │ │ ├── PaidReactionPrivacyAnonymous
│ │ │ └── PaidReactionPrivacyPeer
│ │ ├── UpdateSentPhoneCode
│ │ │ └── sent_code → auth.SentCode
│ │ │ ├── auth.SentCode
│ │ │ ├── auth.SentCodeSuccess
│ │ │ └── auth.SentCodePaymentRequired
│ │ ├── UpdateGroupCallChainBlocks
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── sub_chain_id → int
│ │ │ ├── blocks → Vector < bytes >
│ │ │ └── next_offset → int
│ │ ├── UpdateReadMonoForumInbox
│ │ │ ├── channel_id → long
│ │ │ ├── saved_peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── read_max_id → int
│ │ ├── UpdateReadMonoForumOutbox
│ │ │ ├── channel_id → long
│ │ │ ├── saved_peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── read_max_id → int
│ │ │ ├── exception → true (optional)
│ │ │ ├── channel_id → long
│ │ │ └── saved_peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateGroupCallMessage
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── message → GroupCallMessage
│ │ │ └── GroupCallMessage
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── encrypted_message → bytes
│ │ ├── UpdatePinnedForumTopic
│ │ │ ├── pinned → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── topic_id → int
│ │ ├── UpdatePinnedForumTopics
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── order → Vector < int > (optional)
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateStarGiftAuctionState
│ │ │ ├── gift_id → long
│ │ │ └── state → StarGiftAuctionState
│ │ │ ├── StarGiftAuctionStateNotModified
│ │ │ ├── StarGiftAuctionState
│ │ │ └── StarGiftAuctionStateFinished
│ │ │ ├── gift_id → long
│ │ │ └── user_state → StarGiftAuctionUserState
│ │ │ └── StarGiftAuctionUserState
│ │ ├── UpdateEmojiGameInfo
│ │ │ └── info → messages.EmojiGameInfo
│ │ │ ├── messages.EmojiGameUnavailable
│ │ │ └── messages.EmojiGameDiceInfo
│ │ ├── UpdateStarGiftCraftFail
│ │ ├── UpdateChatParticipantRank
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── rank → string
│ │ │ └── version → int
│ │ ├── UpdateManagedBot
│ │ │ ├── user_id → long
│ │ │ ├── bot_id → long
│ │ │ └── qts → int
│ │ ├── UpdateBotGuestChatQuery
│ │ │ ├── query_id → long
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reference_messages → Vector < Message > (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ ├── UpdateAiComposeTones
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── query_id → long
│ │ │ └── result → JoinChatBotResult
│ │ │ ├── JoinChatBotResultApproved
│ │ │ ├── JoinChatBotResultDeclined
│ │ │ ├── JoinChatBotResultQueued
│ │ │ └── JoinChatBotResultWebView
│ │ ├── UpdateNewBotConnection
│ │ │ ├── confirmed → true (optional)
│ │ │ ├── bot_id → long
│ │ │ ├── date → int (optional)
│ │ │ ├── device → string (optional)
│ │ │ └── location → string (optional)
│ │ ├── UpdateWebBrowserSettings
│ │ │ ├── open_external_browser → true (optional)
│ │ │ └── display_close_button → true (optional)
│ │ └── UpdateWebBrowserException
│ │ ├── delete → true (optional)
│ │ ├── open_external_browser → Bool (optional)
│ │ └── exception → WebDomainException
│ │ └── WebDomainException
│ └── date → int
├── UpdatesCombined
│ ├── updates → Vector < Update >
│ │ ├── UpdateNewMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateMessageID
│ │ │ ├── id → int
│ │ │ └── random_id → long
│ │ ├── UpdateDeleteMessages
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateUserTyping
│ │ │ ├── user_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdateChatUserTyping
│ │ │ ├── chat_id → long
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdateChatParticipants
│ │ │ └── participants → ChatParticipants
│ │ │ ├── ChatParticipantsForbidden
│ │ │ └── ChatParticipants
│ │ ├── UpdateUserStatus
│ │ │ ├── user_id → long
│ │ │ └── status → UserStatus
│ │ │ ├── UserStatusEmpty
│ │ │ ├── UserStatusOnline
│ │ │ ├── UserStatusOffline
│ │ │ ├── UserStatusRecently
│ │ │ ├── UserStatusLastWeek
│ │ │ └── UserStatusLastMonth
│ │ ├── UpdateUserName
│ │ │ ├── user_id → long
│ │ │ ├── first_name → string
│ │ │ ├── last_name → string
│ │ │ └── usernames → Vector < Username >
│ │ │ └── Username
│ │ ├── UpdateNewAuthorization
│ │ │ ├── unconfirmed → true (optional)
│ │ │ ├── hash → long
│ │ │ ├── date → int (optional)
│ │ │ ├── device → string (optional)
│ │ │ └── location → string (optional)
│ │ ├── UpdateNewEncryptedMessage
│ │ │ ├── message → EncryptedMessage
│ │ │ │ ├── EncryptedMessage
│ │ │ │ └── EncryptedMessageService
│ │ │ └── qts → int
│ │ ├── UpdateEncryptedChatTyping
│ │ │ └── chat_id → int
│ │ ├── UpdateEncryption
│ │ │ ├── chat → EncryptedChat
│ │ │ │ ├── EncryptedChatEmpty
│ │ │ │ ├── EncryptedChatWaiting
│ │ │ │ ├── EncryptedChatRequested
│ │ │ │ ├── EncryptedChat
│ │ │ │ └── EncryptedChatDiscarded
│ │ │ └── date → int
│ │ ├── UpdateEncryptedMessagesRead
│ │ │ ├── chat_id → int
│ │ │ ├── max_date → int
│ │ │ └── date → int
│ │ ├── UpdateChatParticipantAdd
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ └── version → int
│ │ ├── UpdateChatParticipantDelete
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ └── version → int
│ │ ├── UpdateDcOptions
│ │ │ └── dc_options → Vector < DcOption >
│ │ │ └── DcOption
│ │ ├── UpdateNotifySettings
│ │ │ ├── peer → NotifyPeer
│ │ │ │ ├── NotifyPeer
│ │ │ │ ├── NotifyUsers
│ │ │ │ ├── NotifyChats
│ │ │ │ ├── NotifyBroadcasts
│ │ │ │ └── NotifyForumTopic
│ │ │ └── notify_settings → PeerNotifySettings
│ │ │ └── PeerNotifySettings
│ │ ├── UpdateServiceNotification
│ │ │ ├── popup → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── inbox_date → int (optional)
│ │ │ ├── type → string
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ └── entities → Vector < MessageEntity >
│ │ │ ├── MessageEntityUnknown
│ │ │ ├── MessageEntityMention
│ │ │ ├── MessageEntityHashtag
│ │ │ ├── MessageEntityBotCommand
│ │ │ ├── MessageEntityUrl
│ │ │ ├── MessageEntityEmail
│ │ │ ├── MessageEntityBold
│ │ │ ├── MessageEntityItalic
│ │ │ ├── MessageEntityCode
│ │ │ ├── MessageEntityPre
│ │ │ ├── MessageEntityTextUrl
│ │ │ ├── MessageEntityMentionName
│ │ │ ├── InputMessageEntityMentionName
│ │ │ ├── MessageEntityPhone
│ │ │ ├── MessageEntityCashtag
│ │ │ ├── MessageEntityUnderline
│ │ │ ├── MessageEntityStrike
│ │ │ ├── MessageEntityBankCard
│ │ │ ├── MessageEntitySpoiler
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ ├── MessageEntityBlockquote
│ │ │ ├── MessageEntityFormattedDate
│ │ │ ├── MessageEntityDiffInsert
│ │ │ ├── MessageEntityDiffReplace
│ │ │ └── MessageEntityDiffDelete
│ │ ├── UpdatePrivacy
│ │ │ ├── key → PrivacyKey
│ │ │ │ ├── PrivacyKeyStatusTimestamp
│ │ │ │ ├── PrivacyKeyChatInvite
│ │ │ │ ├── PrivacyKeyPhoneCall
│ │ │ │ ├── PrivacyKeyPhoneP2P
│ │ │ │ ├── PrivacyKeyForwards
│ │ │ │ ├── PrivacyKeyProfilePhoto
│ │ │ │ ├── PrivacyKeyPhoneNumber
│ │ │ │ ├── PrivacyKeyAddedByPhone
│ │ │ │ ├── PrivacyKeyVoiceMessages
│ │ │ │ ├── PrivacyKeyAbout
│ │ │ │ ├── PrivacyKeyBirthday
│ │ │ │ ├── PrivacyKeyStarGiftsAutoSave
│ │ │ │ ├── PrivacyKeyNoPaidMessages
│ │ │ │ └── PrivacyKeySavedMusic
│ │ │ └── rules → Vector < PrivacyRule >
│ │ │ ├── PrivacyValueAllowContacts
│ │ │ ├── PrivacyValueAllowAll
│ │ │ ├── PrivacyValueAllowUsers
│ │ │ ├── PrivacyValueDisallowContacts
│ │ │ ├── PrivacyValueDisallowAll
│ │ │ ├── PrivacyValueDisallowUsers
│ │ │ ├── PrivacyValueAllowChatParticipants
│ │ │ ├── PrivacyValueAllowCloseFriends
│ │ │ ├── PrivacyValueAllowPremium
│ │ │ ├── PrivacyValueAllowBots
│ │ │ └── PrivacyValueDisallowBots
│ │ ├── UpdateUserPhone
│ │ │ ├── user_id → long
│ │ │ └── phone → string
│ │ ├── UpdateReadHistoryInbox
│ │ │ ├── folder_id → int (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── max_id → int
│ │ │ ├── still_unread_count → int
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadHistoryOutbox
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── max_id → int
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateWebPage
│ │ │ ├── webpage → WebPage
│ │ │ │ ├── WebPageEmpty
│ │ │ │ ├── WebPagePending
│ │ │ │ ├── WebPage
│ │ │ │ └── WebPageNotModified
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadMessagesContents
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ ├── pts_count → int
│ │ │ └── date → int (optional)
│ │ ├── UpdateChannelTooLong
│ │ │ ├── channel_id → long
│ │ │ └── pts → int (optional)
│ │ ├── UpdateChannel
│ │ │ └── channel_id → long
│ │ ├── UpdateNewChannelMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadChannelInbox
│ │ │ ├── folder_id → int (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── max_id → int
│ │ │ ├── still_unread_count → int
│ │ │ └── pts → int
│ │ ├── UpdateDeleteChannelMessages
│ │ │ ├── channel_id → long
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateChannelMessageViews
│ │ │ ├── channel_id → long
│ │ │ ├── id → int
│ │ │ └── views → int
│ │ ├── UpdateChatParticipantAdmin
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── is_admin → Bool
│ │ │ └── version → int
│ │ ├── UpdateNewStickerSet
│ │ │ └── stickerset → messages.StickerSet
│ │ │ ├── messages.StickerSet
│ │ │ └── messages.StickerSetNotModified
│ │ ├── UpdateStickerSetsOrder
│ │ │ ├── masks → true (optional)
│ │ │ ├── emojis → true (optional)
│ │ │ └── order → Vector < long >
│ │ ├── UpdateStickerSets
│ │ │ ├── masks → true (optional)
│ │ │ └── emojis → true (optional)
│ │ ├── UpdateSavedGifs
│ │ ├── UpdateBotInlineQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── query → string
│ │ │ ├── geo → GeoPoint (optional)
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── peer_type → InlineQueryPeerType (optional)
│ │ │ │ ├── InlineQueryPeerTypeSameBotPM
│ │ │ │ ├── InlineQueryPeerTypePM
│ │ │ │ ├── InlineQueryPeerTypeChat
│ │ │ │ ├── InlineQueryPeerTypeMegagroup
│ │ │ │ ├── InlineQueryPeerTypeBroadcast
│ │ │ │ └── InlineQueryPeerTypeBotPM
│ │ │ └── offset → string
│ │ ├── UpdateBotInlineSend
│ │ │ ├── user_id → long
│ │ │ ├── query → string
│ │ │ ├── geo → GeoPoint (optional)
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── id → string
│ │ │ └── msg_id → InputBotInlineMessageID (optional)
│ │ │ ├── InputBotInlineMessageID
│ │ │ └── InputBotInlineMessageID64
│ │ ├── UpdateEditChannelMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateBotCallbackQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── chat_instance → long
│ │ │ ├── data → bytes (optional)
│ │ │ └── game_short_name → string (optional)
│ │ ├── UpdateEditMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── msg_id → InputBotInlineMessageID
│ │ │ │ ├── InputBotInlineMessageID
│ │ │ │ └── InputBotInlineMessageID64
│ │ │ ├── chat_instance → long
│ │ │ ├── data → bytes (optional)
│ │ │ └── game_short_name → string (optional)
│ │ ├── UpdateReadChannelOutbox
│ │ │ ├── channel_id → long
│ │ │ └── max_id → int
│ │ ├── UpdateDraftMessage
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── draft → DraftMessage
│ │ │ ├── DraftMessageEmpty
│ │ │ └── DraftMessage
│ │ ├── UpdateReadFeaturedStickers
│ │ ├── UpdateRecentStickers
│ │ ├── UpdateConfig
│ │ ├── UpdatePtsChanged
│ │ ├── UpdateChannelWebPage
│ │ │ ├── channel_id → long
│ │ │ ├── webpage → WebPage
│ │ │ │ ├── WebPageEmpty
│ │ │ │ ├── WebPagePending
│ │ │ │ ├── WebPage
│ │ │ │ └── WebPageNotModified
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateDialogPinned
│ │ │ ├── pinned → true (optional)
│ │ │ ├── folder_id → int (optional)
│ │ │ └── peer → DialogPeer
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdatePinnedDialogs
│ │ │ ├── folder_id → int (optional)
│ │ │ └── order → Vector < DialogPeer > (optional)
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdateBotWebhookJSON
│ │ │ └── data → DataJSON
│ │ │ └── DataJSON
│ │ ├── UpdateBotWebhookJSONQuery
│ │ │ ├── query_id → long
│ │ │ ├── data → DataJSON
│ │ │ │ └── DataJSON
│ │ │ └── timeout → int
│ │ ├── UpdateBotShippingQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── payload → bytes
│ │ │ └── shipping_address → PostAddress
│ │ │ └── PostAddress
│ │ ├── UpdateBotPrecheckoutQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── payload → bytes
│ │ │ ├── info → PaymentRequestedInfo (optional)
│ │ │ │ └── PaymentRequestedInfo
│ │ │ ├── shipping_option_id → string (optional)
│ │ │ ├── currency → string
│ │ │ └── total_amount → long
│ │ ├── UpdatePhoneCall
│ │ │ └── phone_call → PhoneCall
│ │ │ ├── PhoneCallEmpty
│ │ │ ├── PhoneCallWaiting
│ │ │ ├── PhoneCallRequested
│ │ │ ├── PhoneCallAccepted
│ │ │ ├── PhoneCall
│ │ │ └── PhoneCallDiscarded
│ │ ├── UpdateLangPackTooLong
│ │ │ └── lang_code → string
│ │ ├── UpdateLangPack
│ │ │ └── difference → LangPackDifference
│ │ │ └── LangPackDifference
│ │ ├── UpdateFavedStickers
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateContactsReset
│ │ │ ├── channel_id → long
│ │ │ └── available_min_id → int
│ │ ├── UpdateDialogUnreadMark
│ │ │ ├── unread → true (optional)
│ │ │ ├── peer → DialogPeer
│ │ │ │ ├── DialogPeer
│ │ │ │ └── DialogPeerFolder
│ │ │ └── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateMessagePoll
│ │ │ ├── peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int (optional)
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── poll_id → long
│ │ │ ├── poll → Poll (optional)
│ │ │ │ └── Poll
│ │ │ └── results → PollResults
│ │ │ └── PollResults
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── default_banned_rights → ChatBannedRights
│ │ │ │ └── ChatBannedRights
│ │ │ └── version → int
│ │ ├── UpdateFolderPeers
│ │ │ ├── folder_peers → Vector < FolderPeer >
│ │ │ │ └── FolderPeer
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdatePeerSettings
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── settings → PeerSettings
│ │ │ └── PeerSettings
│ │ ├── UpdatePeerLocated
│ │ │ └── peers → Vector < PeerLocated >
│ │ │ ├── PeerLocated
│ │ │ └── PeerSelfLocated
│ │ ├── UpdateNewScheduledMessage
│ │ │ └── message → Message
│ │ │ ├── MessageEmpty
│ │ │ ├── Message
│ │ │ └── MessageService
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ └── sent_messages → Vector < int > (optional)
│ │ ├── UpdateTheme
│ │ │ └── theme → Theme
│ │ │ └── Theme
│ │ ├── UpdateGeoLiveViewed
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── msg_id → int
│ │ ├── UpdateLoginToken
│ │ ├── UpdateMessagePollVote
│ │ │ ├── poll_id → long
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── options → Vector < bytes >
│ │ │ ├── positions → Vector < int >
│ │ │ └── qts → int
│ │ ├── UpdateDialogFilter
│ │ │ ├── id → int
│ │ │ └── filter → DialogFilter (optional)
│ │ │ ├── DialogFilter
│ │ │ ├── DialogFilterDefault
│ │ │ └── DialogFilterChatlist
│ │ ├── UpdateDialogFilterOrder
│ │ │ └── order → Vector < int >
│ │ ├── UpdateDialogFilters
│ │ │ ├── phone_call_id → long
│ │ │ └── data → bytes
│ │ │ ├── channel_id → long
│ │ │ ├── id → int
│ │ │ └── forwards → int
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int
│ │ │ ├── read_max_id → int
│ │ │ ├── broadcast_id → long (optional)
│ │ │ └── broadcast_post → int (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int
│ │ │ └── read_max_id → int
│ │ ├── UpdatePeerBlocked
│ │ │ ├── blocked → true (optional)
│ │ │ ├── blocked_my_stories_from → true (optional)
│ │ │ └── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateChannelUserTyping
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdatePinnedMessages
│ │ │ ├── pinned → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdatePinnedChannelMessages
│ │ │ ├── pinned → true (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateChat
│ │ │ └── chat_id → long
│ │ ├── UpdateGroupCallParticipants
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── participants → Vector < GroupCallParticipant >
│ │ │ │ └── GroupCallParticipant
│ │ │ └── version → int
│ │ ├── UpdateGroupCall
│ │ │ ├── live_story → true (optional)
│ │ │ ├── peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── call → GroupCall
│ │ │ ├── GroupCallDiscarded
│ │ │ └── GroupCall
│ │ ├── UpdatePeerHistoryTTL
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── ttl_period → int (optional)
│ │ ├── UpdateChatParticipant
│ │ │ ├── chat_id → long
│ │ │ ├── date → int
│ │ │ ├── actor_id → long
│ │ │ ├── user_id → long
│ │ │ ├── prev_participant → ChatParticipant (optional)
│ │ │ │ ├── ChatParticipant
│ │ │ │ ├── ChatParticipantCreator
│ │ │ │ └── ChatParticipantAdmin
│ │ │ ├── new_participant → ChatParticipant (optional)
│ │ │ │ ├── ChatParticipant
│ │ │ │ ├── ChatParticipantCreator
│ │ │ │ └── ChatParticipantAdmin
│ │ │ ├── invite → ExportedChatInvite (optional)
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ └── qts → int
│ │ ├── UpdateChannelParticipant
│ │ │ ├── via_chatlist → true (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── date → int
│ │ │ ├── actor_id → long
│ │ │ ├── user_id → long
│ │ │ ├── prev_participant → ChannelParticipant (optional)
│ │ │ │ ├── ChannelParticipant
│ │ │ │ ├── ChannelParticipantSelf
│ │ │ │ ├── ChannelParticipantCreator
│ │ │ │ ├── ChannelParticipantAdmin
│ │ │ │ ├── ChannelParticipantBanned
│ │ │ │ └── ChannelParticipantLeft
│ │ │ ├── new_participant → ChannelParticipant (optional)
│ │ │ │ ├── ChannelParticipant
│ │ │ │ ├── ChannelParticipantSelf
│ │ │ │ ├── ChannelParticipantCreator
│ │ │ │ ├── ChannelParticipantAdmin
│ │ │ │ ├── ChannelParticipantBanned
│ │ │ │ └── ChannelParticipantLeft
│ │ │ ├── invite → ExportedChatInvite (optional)
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ └── qts → int
│ │ ├── UpdateBotStopped
│ │ │ ├── user_id → long
│ │ │ ├── date → int
│ │ │ ├── stopped → Bool
│ │ │ └── qts → int
│ │ ├── UpdateGroupCallConnection
│ │ │ ├── presentation → true (optional)
│ │ │ └── params → DataJSON
│ │ │ └── DataJSON
│ │ ├── UpdateBotCommands
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── bot_id → long
│ │ │ └── commands → Vector < BotCommand >
│ │ │ └── BotCommand
│ │ ├── UpdatePendingJoinRequests
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── requests_pending → int
│ │ │ └── recent_requesters → Vector < long >
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── date → int
│ │ │ ├── user_id → long
│ │ │ ├── about → string
│ │ │ ├── invite → ExportedChatInvite
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ ├── qts → int
│ │ │ └── query_id → long (optional)
│ │ ├── UpdateMessageReactions
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── reactions → MessageReactions
│ │ │ └── MessageReactions
│ │ ├── UpdateAttachMenuBots
│ │ ├── UpdateWebViewResultSent
│ │ │ └── query_id → long
│ │ ├── UpdateBotMenuButton
│ │ │ ├── bot_id → long
│ │ │ └── button → BotMenuButton
│ │ │ ├── BotMenuButtonDefault
│ │ │ ├── BotMenuButtonCommands
│ │ │ └── BotMenuButton
│ │ ├── UpdateSavedRingtones
│ │ ├── UpdateTranscribedAudio
│ │ │ ├── pending → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── transcription_id → long
│ │ │ └── text → string
│ │ ├── UpdateUserEmojiStatus
│ │ │ ├── user_id → long
│ │ │ └── emoji_status → EmojiStatus
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ ├── EmojiStatusCollectible
│ │ │ └── InputEmojiStatusCollectible
│ │ ├── UpdateRecentEmojiStatuses
│ │ ├── UpdateRecentReactions
│ │ ├── UpdateMoveStickerSetToTop
│ │ │ ├── masks → true (optional)
│ │ │ ├── emojis → true (optional)
│ │ │ └── stickerset → long
│ │ ├── UpdateMessageExtendedMedia
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ └── extended_media → Vector < MessageExtendedMedia >
│ │ │ ├── MessageExtendedMediaPreview
│ │ │ └── MessageExtendedMedia
│ │ ├── UpdateUser
│ │ │ └── user_id → long
│ │ ├── UpdateAutoSaveSettings
│ │ ├── UpdateStory
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── story → StoryItem
│ │ │ ├── StoryItemDeleted
│ │ │ ├── StoryItemSkipped
│ │ │ └── StoryItem
│ │ ├── UpdateReadStories
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── max_id → int
│ │ ├── UpdateStoryID
│ │ │ ├── id → int
│ │ │ └── random_id → long
│ │ ├── UpdateStoriesStealthMode
│ │ │ └── stealth_mode → StoriesStealthMode
│ │ │ └── StoriesStealthMode
│ │ ├── UpdateSentStoryReaction
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── story_id → int
│ │ │ └── reaction → Reaction
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ ├── UpdateBotChatBoost
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── boost → Boost
│ │ │ │ └── Boost
│ │ │ └── qts → int
│ │ │ ├── channel_id → long
│ │ │ └── enabled → Bool
│ │ ├── UpdatePeerWallpaper
│ │ │ ├── wallpaper_overridden → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── wallpaper → WallPaper (optional)
│ │ │ ├── WallPaper
│ │ │ └── WallPaperNoFile
│ │ ├── UpdateBotMessageReaction
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── date → int
│ │ │ ├── actor → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── old_reactions → Vector < Reaction >
│ │ │ │ ├── ReactionEmpty
│ │ │ │ ├── ReactionEmoji
│ │ │ │ ├── ReactionCustomEmoji
│ │ │ │ └── ReactionPaid
│ │ │ ├── new_reactions → Vector < Reaction >
│ │ │ │ ├── ReactionEmpty
│ │ │ │ ├── ReactionEmoji
│ │ │ │ ├── ReactionCustomEmoji
│ │ │ │ └── ReactionPaid
│ │ │ └── qts → int
│ │ ├── UpdateBotMessageReactions
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── date → int
│ │ │ ├── reactions → Vector < ReactionCount >
│ │ │ │ └── ReactionCount
│ │ │ └── qts → int
│ │ ├── UpdateSavedDialogPinned
│ │ │ ├── pinned → true (optional)
│ │ │ └── peer → DialogPeer
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdatePinnedSavedDialogs
│ │ │ └── order → Vector < DialogPeer > (optional)
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdateSavedReactionTags
│ │ ├── UpdateSmsJob
│ │ │ └── job_id → string
│ │ ├── UpdateQuickReplies
│ │ │ └── quick_replies → Vector < QuickReply >
│ │ │ └── QuickReply
│ │ ├── UpdateNewQuickReply
│ │ │ └── quick_reply → QuickReply
│ │ │ └── QuickReply
│ │ ├── UpdateDeleteQuickReply
│ │ │ └── shortcut_id → int
│ │ ├── UpdateQuickReplyMessage
│ │ │ └── message → Message
│ │ │ ├── MessageEmpty
│ │ │ ├── Message
│ │ │ └── MessageService
│ │ │ ├── shortcut_id → int
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateBotBusinessConnect
│ │ │ ├── connection → BotBusinessConnection
│ │ │ │ └── BotBusinessConnection
│ │ │ └── qts → int
│ │ ├── UpdateBotNewBusinessMessage
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ │ ├── connection_id → string
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ └── qts → int
│ │ ├── UpdateNewStoryReaction
│ │ │ ├── story_id → int
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── reaction → Reaction
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ ├── UpdateStarsBalance
│ │ │ └── balance → StarsAmount
│ │ │ ├── StarsAmount
│ │ │ └── StarsTonAmount
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── chat_instance → long
│ │ │ └── data → bytes (optional)
│ │ ├── UpdateStarsRevenueStatus
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── status → StarsRevenueStatus
│ │ │ └── StarsRevenueStatus
│ │ ├── UpdateBotPurchasedPaidMedia
│ │ │ ├── user_id → long
│ │ │ ├── payload → string
│ │ │ └── qts → int
│ │ ├── UpdatePaidReactionPrivacy
│ │ │ └── private → PaidReactionPrivacy
│ │ │ ├── PaidReactionPrivacyDefault
│ │ │ ├── PaidReactionPrivacyAnonymous
│ │ │ └── PaidReactionPrivacyPeer
│ │ ├── UpdateSentPhoneCode
│ │ │ └── sent_code → auth.SentCode
│ │ │ ├── auth.SentCode
│ │ │ ├── auth.SentCodeSuccess
│ │ │ └── auth.SentCodePaymentRequired
│ │ ├── UpdateGroupCallChainBlocks
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── sub_chain_id → int
│ │ │ ├── blocks → Vector < bytes >
│ │ │ └── next_offset → int
│ │ ├── UpdateReadMonoForumInbox
│ │ │ ├── channel_id → long
│ │ │ ├── saved_peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── read_max_id → int
│ │ ├── UpdateReadMonoForumOutbox
│ │ │ ├── channel_id → long
│ │ │ ├── saved_peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── read_max_id → int
│ │ │ ├── exception → true (optional)
│ │ │ ├── channel_id → long
│ │ │ └── saved_peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateGroupCallMessage
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── message → GroupCallMessage
│ │ │ └── GroupCallMessage
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── encrypted_message → bytes
│ │ ├── UpdatePinnedForumTopic
│ │ │ ├── pinned → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── topic_id → int
│ │ ├── UpdatePinnedForumTopics
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── order → Vector < int > (optional)
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateStarGiftAuctionState
│ │ │ ├── gift_id → long
│ │ │ └── state → StarGiftAuctionState
│ │ │ ├── StarGiftAuctionStateNotModified
│ │ │ ├── StarGiftAuctionState
│ │ │ └── StarGiftAuctionStateFinished
│ │ │ ├── gift_id → long
│ │ │ └── user_state → StarGiftAuctionUserState
│ │ │ └── StarGiftAuctionUserState
│ │ ├── UpdateEmojiGameInfo
│ │ │ └── info → messages.EmojiGameInfo
│ │ │ ├── messages.EmojiGameUnavailable
│ │ │ └── messages.EmojiGameDiceInfo
│ │ ├── UpdateStarGiftCraftFail
│ │ ├── UpdateChatParticipantRank
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── rank → string
│ │ │ └── version → int
│ │ ├── UpdateManagedBot
│ │ │ ├── user_id → long
│ │ │ ├── bot_id → long
│ │ │ └── qts → int
│ │ ├── UpdateBotGuestChatQuery
│ │ │ ├── query_id → long
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reference_messages → Vector < Message > (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ ├── UpdateAiComposeTones
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── query_id → long
│ │ │ └── result → JoinChatBotResult
│ │ │ ├── JoinChatBotResultApproved
│ │ │ ├── JoinChatBotResultDeclined
│ │ │ ├── JoinChatBotResultQueued
│ │ │ └── JoinChatBotResultWebView
│ │ ├── UpdateNewBotConnection
│ │ │ ├── confirmed → true (optional)
│ │ │ ├── bot_id → long
│ │ │ ├── date → int (optional)
│ │ │ ├── device → string (optional)
│ │ │ └── location → string (optional)
│ │ ├── UpdateWebBrowserSettings
│ │ │ ├── open_external_browser → true (optional)
│ │ │ └── display_close_button → true (optional)
│ │ └── UpdateWebBrowserException
│ │ ├── delete → true (optional)
│ │ ├── open_external_browser → Bool (optional)
│ │ └── exception → WebDomainException
│ │ └── WebDomainException
│ ├── users → Vector < User >
│ │ ├── UserEmpty
│ │ │ └── id → long
│ │ └── User
│ │ ├── is_self → true (optional)
│ │ ├── contact → true (optional)
│ │ ├── mutual_contact → true (optional)
│ │ ├── deleted → true (optional)
│ │ ├── bot → true (optional)
│ │ ├── bot_chat_history → true (optional)
│ │ ├── bot_nochats → true (optional)
│ │ ├── verified → true (optional)
│ │ ├── restricted → true (optional)
│ │ ├── min → true (optional)
│ │ ├── bot_inline_geo → true (optional)
│ │ ├── support → true (optional)
│ │ ├── scam → true (optional)
│ │ ├── apply_min_photo → true (optional)
│ │ ├── fake → true (optional)
│ │ ├── bot_attach_menu → true (optional)
│ │ ├── premium → true (optional)
│ │ ├── attach_menu_enabled → true (optional)
│ │ ├── bot_can_edit → true (optional)
│ │ ├── close_friend → true (optional)
│ │ ├── stories_hidden → true (optional)
│ │ ├── stories_unavailable → true (optional)
│ │ ├── contact_require_premium → true (optional)
│ │ ├── bot_business → true (optional)
│ │ ├── bot_has_main_app → true (optional)
│ │ ├── bot_forum_view → true (optional)
│ │ ├── bot_forum_can_manage_topics → true (optional)
│ │ ├── bot_can_manage_bots → true (optional)
│ │ ├── bot_guestchat → true (optional)
│ │ ├── bot_guard → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long (optional)
│ │ ├── first_name → string (optional)
│ │ ├── last_name → string (optional)
│ │ ├── username → string (optional)
│ │ ├── phone → string (optional)
│ │ ├── photo → UserProfilePhoto (optional)
│ │ │ ├── UserProfilePhotoEmpty
│ │ │ └── UserProfilePhoto
│ │ ├── status → UserStatus (optional)
│ │ │ ├── UserStatusEmpty
│ │ │ ├── UserStatusOnline
│ │ │ ├── UserStatusOffline
│ │ │ ├── UserStatusRecently
│ │ │ ├── UserStatusLastWeek
│ │ │ └── UserStatusLastMonth
│ │ ├── bot_info_version → int (optional)
│ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ ├── bot_inline_placeholder → string (optional)
│ │ ├── lang_code → string (optional)
│ │ ├── emoji_status → EmojiStatus (optional)
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ ├── EmojiStatusCollectible
│ │ │ └── InputEmojiStatusCollectible
│ │ ├── usernames → Vector < Username > (optional)
│ │ │ └── Username
│ │ ├── stories_max_id → RecentStory (optional)
│ │ │ └── RecentStory
│ │ ├── color → PeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── profile_color → PeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── bot_active_users → int (optional)
│ │ ├── bot_verification_icon → long (optional)
│ │ └── send_paid_messages_stars → long (optional)
│ ├── chats → Vector < Chat >
│ │ ├── ChatEmpty
│ │ │ └── id → long
│ │ ├── Chat
│ │ │ ├── creator → true (optional)
│ │ │ ├── left → true (optional)
│ │ │ ├── deactivated → true (optional)
│ │ │ ├── call_active → true (optional)
│ │ │ ├── call_not_empty → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── id → long
│ │ │ ├── title → string
│ │ │ ├── photo → ChatPhoto
│ │ │ │ ├── ChatPhotoEmpty
│ │ │ │ └── ChatPhoto
│ │ │ ├── participants_count → int
│ │ │ ├── date → int
│ │ │ ├── version → int
│ │ │ ├── migrated_to → InputChannel (optional)
│ │ │ │ ├── InputChannelEmpty
│ │ │ │ ├── InputChannel
│ │ │ │ └── InputChannelFromMessage
│ │ │ ├── admin_rights → ChatAdminRights (optional)
│ │ │ │ └── ChatAdminRights
│ │ │ └── default_banned_rights → ChatBannedRights (optional)
│ │ │ └── ChatBannedRights
│ │ ├── ChatForbidden
│ │ │ ├── id → long
│ │ │ └── title → string
│ │ ├── Channel
│ │ │ ├── creator → true (optional)
│ │ │ ├── left → true (optional)
│ │ │ ├── broadcast → true (optional)
│ │ │ ├── verified → true (optional)
│ │ │ ├── megagroup → true (optional)
│ │ │ ├── restricted → true (optional)
│ │ │ ├── signatures → true (optional)
│ │ │ ├── min → true (optional)
│ │ │ ├── scam → true (optional)
│ │ │ ├── has_link → true (optional)
│ │ │ ├── has_geo → true (optional)
│ │ │ ├── slowmode_enabled → true (optional)
│ │ │ ├── call_active → true (optional)
│ │ │ ├── call_not_empty → true (optional)
│ │ │ ├── fake → true (optional)
│ │ │ ├── gigagroup → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── join_to_send → true (optional)
│ │ │ ├── join_request → true (optional)
│ │ │ ├── forum → true (optional)
│ │ │ ├── stories_hidden → true (optional)
│ │ │ ├── stories_hidden_min → true (optional)
│ │ │ ├── stories_unavailable → true (optional)
│ │ │ ├── signature_profiles → true (optional)
│ │ │ ├── autotranslation → true (optional)
│ │ │ ├── broadcast_messages_allowed → true (optional)
│ │ │ ├── monoforum → true (optional)
│ │ │ ├── forum_tabs → true (optional)
│ │ │ ├── id → long
│ │ │ ├── access_hash → long (optional)
│ │ │ ├── title → string
│ │ │ ├── username → string (optional)
│ │ │ ├── photo → ChatPhoto
│ │ │ │ ├── ChatPhotoEmpty
│ │ │ │ └── ChatPhoto
│ │ │ ├── date → int
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── admin_rights → ChatAdminRights (optional)
│ │ │ │ └── ChatAdminRights
│ │ │ ├── banned_rights → ChatBannedRights (optional)
│ │ │ │ └── ChatBannedRights
│ │ │ ├── default_banned_rights → ChatBannedRights (optional)
│ │ │ │ └── ChatBannedRights
│ │ │ ├── participants_count → int (optional)
│ │ │ ├── usernames → Vector < Username > (optional)
│ │ │ │ └── Username
│ │ │ ├── stories_max_id → RecentStory (optional)
│ │ │ │ └── RecentStory
│ │ │ ├── color → PeerColor (optional)
│ │ │ │ ├── PeerColor
│ │ │ │ ├── PeerColorCollectible
│ │ │ │ └── InputPeerColorCollectible
│ │ │ ├── profile_color → PeerColor (optional)
│ │ │ │ ├── PeerColor
│ │ │ │ ├── PeerColorCollectible
│ │ │ │ └── InputPeerColorCollectible
│ │ │ ├── emoji_status → EmojiStatus (optional)
│ │ │ │ ├── EmojiStatusEmpty
│ │ │ │ ├── EmojiStatus
│ │ │ │ ├── EmojiStatusCollectible
│ │ │ │ └── InputEmojiStatusCollectible
│ │ │ ├── level → int (optional)
│ │ │ ├── subscription_until_date → int (optional)
│ │ │ ├── bot_verification_icon → long (optional)
│ │ │ ├── send_paid_messages_stars → long (optional)
│ │ │ └── linked_monoforum_id → long (optional)
│ │ └── ChannelForbidden
│ │ ├── broadcast → true (optional)
│ │ ├── megagroup → true (optional)
│ │ ├── monoforum → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── title → string
│ │ └── until_date → int (optional)
│ ├── date → int
│ ├── seq_start → int
│ └── seq → int
├── Updates
│ ├── updates → Vector < Update >
│ │ ├── UpdateNewMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateMessageID
│ │ │ ├── id → int
│ │ │ └── random_id → long
│ │ ├── UpdateDeleteMessages
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateUserTyping
│ │ │ ├── user_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdateChatUserTyping
│ │ │ ├── chat_id → long
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdateChatParticipants
│ │ │ └── participants → ChatParticipants
│ │ │ ├── ChatParticipantsForbidden
│ │ │ └── ChatParticipants
│ │ ├── UpdateUserStatus
│ │ │ ├── user_id → long
│ │ │ └── status → UserStatus
│ │ │ ├── UserStatusEmpty
│ │ │ ├── UserStatusOnline
│ │ │ ├── UserStatusOffline
│ │ │ ├── UserStatusRecently
│ │ │ ├── UserStatusLastWeek
│ │ │ └── UserStatusLastMonth
│ │ ├── UpdateUserName
│ │ │ ├── user_id → long
│ │ │ ├── first_name → string
│ │ │ ├── last_name → string
│ │ │ └── usernames → Vector < Username >
│ │ │ └── Username
│ │ ├── UpdateNewAuthorization
│ │ │ ├── unconfirmed → true (optional)
│ │ │ ├── hash → long
│ │ │ ├── date → int (optional)
│ │ │ ├── device → string (optional)
│ │ │ └── location → string (optional)
│ │ ├── UpdateNewEncryptedMessage
│ │ │ ├── message → EncryptedMessage
│ │ │ │ ├── EncryptedMessage
│ │ │ │ └── EncryptedMessageService
│ │ │ └── qts → int
│ │ ├── UpdateEncryptedChatTyping
│ │ │ └── chat_id → int
│ │ ├── UpdateEncryption
│ │ │ ├── chat → EncryptedChat
│ │ │ │ ├── EncryptedChatEmpty
│ │ │ │ ├── EncryptedChatWaiting
│ │ │ │ ├── EncryptedChatRequested
│ │ │ │ ├── EncryptedChat
│ │ │ │ └── EncryptedChatDiscarded
│ │ │ └── date → int
│ │ ├── UpdateEncryptedMessagesRead
│ │ │ ├── chat_id → int
│ │ │ ├── max_date → int
│ │ │ └── date → int
│ │ ├── UpdateChatParticipantAdd
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ └── version → int
│ │ ├── UpdateChatParticipantDelete
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ └── version → int
│ │ ├── UpdateDcOptions
│ │ │ └── dc_options → Vector < DcOption >
│ │ │ └── DcOption
│ │ ├── UpdateNotifySettings
│ │ │ ├── peer → NotifyPeer
│ │ │ │ ├── NotifyPeer
│ │ │ │ ├── NotifyUsers
│ │ │ │ ├── NotifyChats
│ │ │ │ ├── NotifyBroadcasts
│ │ │ │ └── NotifyForumTopic
│ │ │ └── notify_settings → PeerNotifySettings
│ │ │ └── PeerNotifySettings
│ │ ├── UpdateServiceNotification
│ │ │ ├── popup → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── inbox_date → int (optional)
│ │ │ ├── type → string
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ └── entities → Vector < MessageEntity >
│ │ │ ├── MessageEntityUnknown
│ │ │ ├── MessageEntityMention
│ │ │ ├── MessageEntityHashtag
│ │ │ ├── MessageEntityBotCommand
│ │ │ ├── MessageEntityUrl
│ │ │ ├── MessageEntityEmail
│ │ │ ├── MessageEntityBold
│ │ │ ├── MessageEntityItalic
│ │ │ ├── MessageEntityCode
│ │ │ ├── MessageEntityPre
│ │ │ ├── MessageEntityTextUrl
│ │ │ ├── MessageEntityMentionName
│ │ │ ├── InputMessageEntityMentionName
│ │ │ ├── MessageEntityPhone
│ │ │ ├── MessageEntityCashtag
│ │ │ ├── MessageEntityUnderline
│ │ │ ├── MessageEntityStrike
│ │ │ ├── MessageEntityBankCard
│ │ │ ├── MessageEntitySpoiler
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ ├── MessageEntityBlockquote
│ │ │ ├── MessageEntityFormattedDate
│ │ │ ├── MessageEntityDiffInsert
│ │ │ ├── MessageEntityDiffReplace
│ │ │ └── MessageEntityDiffDelete
│ │ ├── UpdatePrivacy
│ │ │ ├── key → PrivacyKey
│ │ │ │ ├── PrivacyKeyStatusTimestamp
│ │ │ │ ├── PrivacyKeyChatInvite
│ │ │ │ ├── PrivacyKeyPhoneCall
│ │ │ │ ├── PrivacyKeyPhoneP2P
│ │ │ │ ├── PrivacyKeyForwards
│ │ │ │ ├── PrivacyKeyProfilePhoto
│ │ │ │ ├── PrivacyKeyPhoneNumber
│ │ │ │ ├── PrivacyKeyAddedByPhone
│ │ │ │ ├── PrivacyKeyVoiceMessages
│ │ │ │ ├── PrivacyKeyAbout
│ │ │ │ ├── PrivacyKeyBirthday
│ │ │ │ ├── PrivacyKeyStarGiftsAutoSave
│ │ │ │ ├── PrivacyKeyNoPaidMessages
│ │ │ │ └── PrivacyKeySavedMusic
│ │ │ └── rules → Vector < PrivacyRule >
│ │ │ ├── PrivacyValueAllowContacts
│ │ │ ├── PrivacyValueAllowAll
│ │ │ ├── PrivacyValueAllowUsers
│ │ │ ├── PrivacyValueDisallowContacts
│ │ │ ├── PrivacyValueDisallowAll
│ │ │ ├── PrivacyValueDisallowUsers
│ │ │ ├── PrivacyValueAllowChatParticipants
│ │ │ ├── PrivacyValueAllowCloseFriends
│ │ │ ├── PrivacyValueAllowPremium
│ │ │ ├── PrivacyValueAllowBots
│ │ │ └── PrivacyValueDisallowBots
│ │ ├── UpdateUserPhone
│ │ │ ├── user_id → long
│ │ │ └── phone → string
│ │ ├── UpdateReadHistoryInbox
│ │ │ ├── folder_id → int (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── max_id → int
│ │ │ ├── still_unread_count → int
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadHistoryOutbox
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── max_id → int
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateWebPage
│ │ │ ├── webpage → WebPage
│ │ │ │ ├── WebPageEmpty
│ │ │ │ ├── WebPagePending
│ │ │ │ ├── WebPage
│ │ │ │ └── WebPageNotModified
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadMessagesContents
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ ├── pts_count → int
│ │ │ └── date → int (optional)
│ │ ├── UpdateChannelTooLong
│ │ │ ├── channel_id → long
│ │ │ └── pts → int (optional)
│ │ ├── UpdateChannel
│ │ │ └── channel_id → long
│ │ ├── UpdateNewChannelMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateReadChannelInbox
│ │ │ ├── folder_id → int (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── max_id → int
│ │ │ ├── still_unread_count → int
│ │ │ └── pts → int
│ │ ├── UpdateDeleteChannelMessages
│ │ │ ├── channel_id → long
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateChannelMessageViews
│ │ │ ├── channel_id → long
│ │ │ ├── id → int
│ │ │ └── views → int
│ │ ├── UpdateChatParticipantAdmin
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── is_admin → Bool
│ │ │ └── version → int
│ │ ├── UpdateNewStickerSet
│ │ │ └── stickerset → messages.StickerSet
│ │ │ ├── messages.StickerSet
│ │ │ └── messages.StickerSetNotModified
│ │ ├── UpdateStickerSetsOrder
│ │ │ ├── masks → true (optional)
│ │ │ ├── emojis → true (optional)
│ │ │ └── order → Vector < long >
│ │ ├── UpdateStickerSets
│ │ │ ├── masks → true (optional)
│ │ │ └── emojis → true (optional)
│ │ ├── UpdateSavedGifs
│ │ ├── UpdateBotInlineQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── query → string
│ │ │ ├── geo → GeoPoint (optional)
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── peer_type → InlineQueryPeerType (optional)
│ │ │ │ ├── InlineQueryPeerTypeSameBotPM
│ │ │ │ ├── InlineQueryPeerTypePM
│ │ │ │ ├── InlineQueryPeerTypeChat
│ │ │ │ ├── InlineQueryPeerTypeMegagroup
│ │ │ │ ├── InlineQueryPeerTypeBroadcast
│ │ │ │ └── InlineQueryPeerTypeBotPM
│ │ │ └── offset → string
│ │ ├── UpdateBotInlineSend
│ │ │ ├── user_id → long
│ │ │ ├── query → string
│ │ │ ├── geo → GeoPoint (optional)
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── id → string
│ │ │ └── msg_id → InputBotInlineMessageID (optional)
│ │ │ ├── InputBotInlineMessageID
│ │ │ └── InputBotInlineMessageID64
│ │ ├── UpdateEditChannelMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateBotCallbackQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── chat_instance → long
│ │ │ ├── data → bytes (optional)
│ │ │ └── game_short_name → string (optional)
│ │ ├── UpdateEditMessage
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── msg_id → InputBotInlineMessageID
│ │ │ │ ├── InputBotInlineMessageID
│ │ │ │ └── InputBotInlineMessageID64
│ │ │ ├── chat_instance → long
│ │ │ ├── data → bytes (optional)
│ │ │ └── game_short_name → string (optional)
│ │ ├── UpdateReadChannelOutbox
│ │ │ ├── channel_id → long
│ │ │ └── max_id → int
│ │ ├── UpdateDraftMessage
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── draft → DraftMessage
│ │ │ ├── DraftMessageEmpty
│ │ │ └── DraftMessage
│ │ ├── UpdateReadFeaturedStickers
│ │ ├── UpdateRecentStickers
│ │ ├── UpdateConfig
│ │ ├── UpdatePtsChanged
│ │ ├── UpdateChannelWebPage
│ │ │ ├── channel_id → long
│ │ │ ├── webpage → WebPage
│ │ │ │ ├── WebPageEmpty
│ │ │ │ ├── WebPagePending
│ │ │ │ ├── WebPage
│ │ │ │ └── WebPageNotModified
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateDialogPinned
│ │ │ ├── pinned → true (optional)
│ │ │ ├── folder_id → int (optional)
│ │ │ └── peer → DialogPeer
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdatePinnedDialogs
│ │ │ ├── folder_id → int (optional)
│ │ │ └── order → Vector < DialogPeer > (optional)
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdateBotWebhookJSON
│ │ │ └── data → DataJSON
│ │ │ └── DataJSON
│ │ ├── UpdateBotWebhookJSONQuery
│ │ │ ├── query_id → long
│ │ │ ├── data → DataJSON
│ │ │ │ └── DataJSON
│ │ │ └── timeout → int
│ │ ├── UpdateBotShippingQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── payload → bytes
│ │ │ └── shipping_address → PostAddress
│ │ │ └── PostAddress
│ │ ├── UpdateBotPrecheckoutQuery
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── payload → bytes
│ │ │ ├── info → PaymentRequestedInfo (optional)
│ │ │ │ └── PaymentRequestedInfo
│ │ │ ├── shipping_option_id → string (optional)
│ │ │ ├── currency → string
│ │ │ └── total_amount → long
│ │ ├── UpdatePhoneCall
│ │ │ └── phone_call → PhoneCall
│ │ │ ├── PhoneCallEmpty
│ │ │ ├── PhoneCallWaiting
│ │ │ ├── PhoneCallRequested
│ │ │ ├── PhoneCallAccepted
│ │ │ ├── PhoneCall
│ │ │ └── PhoneCallDiscarded
│ │ ├── UpdateLangPackTooLong
│ │ │ └── lang_code → string
│ │ ├── UpdateLangPack
│ │ │ └── difference → LangPackDifference
│ │ │ └── LangPackDifference
│ │ ├── UpdateFavedStickers
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateContactsReset
│ │ │ ├── channel_id → long
│ │ │ └── available_min_id → int
│ │ ├── UpdateDialogUnreadMark
│ │ │ ├── unread → true (optional)
│ │ │ ├── peer → DialogPeer
│ │ │ │ ├── DialogPeer
│ │ │ │ └── DialogPeerFolder
│ │ │ └── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateMessagePoll
│ │ │ ├── peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int (optional)
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── poll_id → long
│ │ │ ├── poll → Poll (optional)
│ │ │ │ └── Poll
│ │ │ └── results → PollResults
│ │ │ └── PollResults
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── default_banned_rights → ChatBannedRights
│ │ │ │ └── ChatBannedRights
│ │ │ └── version → int
│ │ ├── UpdateFolderPeers
│ │ │ ├── folder_peers → Vector < FolderPeer >
│ │ │ │ └── FolderPeer
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdatePeerSettings
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── settings → PeerSettings
│ │ │ └── PeerSettings
│ │ ├── UpdatePeerLocated
│ │ │ └── peers → Vector < PeerLocated >
│ │ │ ├── PeerLocated
│ │ │ └── PeerSelfLocated
│ │ ├── UpdateNewScheduledMessage
│ │ │ └── message → Message
│ │ │ ├── MessageEmpty
│ │ │ ├── Message
│ │ │ └── MessageService
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ └── sent_messages → Vector < int > (optional)
│ │ ├── UpdateTheme
│ │ │ └── theme → Theme
│ │ │ └── Theme
│ │ ├── UpdateGeoLiveViewed
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── msg_id → int
│ │ ├── UpdateLoginToken
│ │ ├── UpdateMessagePollVote
│ │ │ ├── poll_id → long
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── options → Vector < bytes >
│ │ │ ├── positions → Vector < int >
│ │ │ └── qts → int
│ │ ├── UpdateDialogFilter
│ │ │ ├── id → int
│ │ │ └── filter → DialogFilter (optional)
│ │ │ ├── DialogFilter
│ │ │ ├── DialogFilterDefault
│ │ │ └── DialogFilterChatlist
│ │ ├── UpdateDialogFilterOrder
│ │ │ └── order → Vector < int >
│ │ ├── UpdateDialogFilters
│ │ │ ├── phone_call_id → long
│ │ │ └── data → bytes
│ │ │ ├── channel_id → long
│ │ │ ├── id → int
│ │ │ └── forwards → int
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int
│ │ │ ├── read_max_id → int
│ │ │ ├── broadcast_id → long (optional)
│ │ │ └── broadcast_post → int (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int
│ │ │ └── read_max_id → int
│ │ ├── UpdatePeerBlocked
│ │ │ ├── blocked → true (optional)
│ │ │ ├── blocked_my_stories_from → true (optional)
│ │ │ └── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateChannelUserTyping
│ │ │ ├── channel_id → long
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── action → SendMessageAction
│ │ │ ├── SendMessageTypingAction
│ │ │ ├── SendMessageCancelAction
│ │ │ ├── SendMessageRecordVideoAction
│ │ │ ├── SendMessageUploadVideoAction
│ │ │ ├── SendMessageRecordAudioAction
│ │ │ ├── SendMessageUploadAudioAction
│ │ │ ├── SendMessageUploadPhotoAction
│ │ │ ├── SendMessageUploadDocumentAction
│ │ │ ├── SendMessageGeoLocationAction
│ │ │ ├── SendMessageChooseContactAction
│ │ │ ├── SendMessageGamePlayAction
│ │ │ ├── SendMessageRecordRoundAction
│ │ │ ├── SendMessageUploadRoundAction
│ │ │ ├── SpeakingInGroupCallAction
│ │ │ ├── SendMessageHistoryImportAction
│ │ │ ├── SendMessageChooseStickerAction
│ │ │ ├── SendMessageEmojiInteraction
│ │ │ ├── SendMessageEmojiInteractionSeen
│ │ │ ├── SendMessageTextDraftAction
│ │ │ └── SendMessageRichMessageDraftAction
│ │ ├── UpdatePinnedMessages
│ │ │ ├── pinned → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdatePinnedChannelMessages
│ │ │ ├── pinned → true (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── messages → Vector < int >
│ │ │ ├── pts → int
│ │ │ └── pts_count → int
│ │ ├── UpdateChat
│ │ │ └── chat_id → long
│ │ ├── UpdateGroupCallParticipants
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── participants → Vector < GroupCallParticipant >
│ │ │ │ └── GroupCallParticipant
│ │ │ └── version → int
│ │ ├── UpdateGroupCall
│ │ │ ├── live_story → true (optional)
│ │ │ ├── peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── call → GroupCall
│ │ │ ├── GroupCallDiscarded
│ │ │ └── GroupCall
│ │ ├── UpdatePeerHistoryTTL
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── ttl_period → int (optional)
│ │ ├── UpdateChatParticipant
│ │ │ ├── chat_id → long
│ │ │ ├── date → int
│ │ │ ├── actor_id → long
│ │ │ ├── user_id → long
│ │ │ ├── prev_participant → ChatParticipant (optional)
│ │ │ │ ├── ChatParticipant
│ │ │ │ ├── ChatParticipantCreator
│ │ │ │ └── ChatParticipantAdmin
│ │ │ ├── new_participant → ChatParticipant (optional)
│ │ │ │ ├── ChatParticipant
│ │ │ │ ├── ChatParticipantCreator
│ │ │ │ └── ChatParticipantAdmin
│ │ │ ├── invite → ExportedChatInvite (optional)
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ └── qts → int
│ │ ├── UpdateChannelParticipant
│ │ │ ├── via_chatlist → true (optional)
│ │ │ ├── channel_id → long
│ │ │ ├── date → int
│ │ │ ├── actor_id → long
│ │ │ ├── user_id → long
│ │ │ ├── prev_participant → ChannelParticipant (optional)
│ │ │ │ ├── ChannelParticipant
│ │ │ │ ├── ChannelParticipantSelf
│ │ │ │ ├── ChannelParticipantCreator
│ │ │ │ ├── ChannelParticipantAdmin
│ │ │ │ ├── ChannelParticipantBanned
│ │ │ │ └── ChannelParticipantLeft
│ │ │ ├── new_participant → ChannelParticipant (optional)
│ │ │ │ ├── ChannelParticipant
│ │ │ │ ├── ChannelParticipantSelf
│ │ │ │ ├── ChannelParticipantCreator
│ │ │ │ ├── ChannelParticipantAdmin
│ │ │ │ ├── ChannelParticipantBanned
│ │ │ │ └── ChannelParticipantLeft
│ │ │ ├── invite → ExportedChatInvite (optional)
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ └── qts → int
│ │ ├── UpdateBotStopped
│ │ │ ├── user_id → long
│ │ │ ├── date → int
│ │ │ ├── stopped → Bool
│ │ │ └── qts → int
│ │ ├── UpdateGroupCallConnection
│ │ │ ├── presentation → true (optional)
│ │ │ └── params → DataJSON
│ │ │ └── DataJSON
│ │ ├── UpdateBotCommands
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── bot_id → long
│ │ │ └── commands → Vector < BotCommand >
│ │ │ └── BotCommand
│ │ ├── UpdatePendingJoinRequests
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── requests_pending → int
│ │ │ └── recent_requesters → Vector < long >
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── date → int
│ │ │ ├── user_id → long
│ │ │ ├── about → string
│ │ │ ├── invite → ExportedChatInvite
│ │ │ │ ├── ChatInviteExported
│ │ │ │ └── ChatInvitePublicJoinRequests
│ │ │ ├── qts → int
│ │ │ └── query_id → long (optional)
│ │ ├── UpdateMessageReactions
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── top_msg_id → int (optional)
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── reactions → MessageReactions
│ │ │ └── MessageReactions
│ │ ├── UpdateAttachMenuBots
│ │ ├── UpdateWebViewResultSent
│ │ │ └── query_id → long
│ │ ├── UpdateBotMenuButton
│ │ │ ├── bot_id → long
│ │ │ └── button → BotMenuButton
│ │ │ ├── BotMenuButtonDefault
│ │ │ ├── BotMenuButtonCommands
│ │ │ └── BotMenuButton
│ │ ├── UpdateSavedRingtones
│ │ ├── UpdateTranscribedAudio
│ │ │ ├── pending → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── transcription_id → long
│ │ │ └── text → string
│ │ ├── UpdateUserEmojiStatus
│ │ │ ├── user_id → long
│ │ │ └── emoji_status → EmojiStatus
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ ├── EmojiStatusCollectible
│ │ │ └── InputEmojiStatusCollectible
│ │ ├── UpdateRecentEmojiStatuses
│ │ ├── UpdateRecentReactions
│ │ ├── UpdateMoveStickerSetToTop
│ │ │ ├── masks → true (optional)
│ │ │ ├── emojis → true (optional)
│ │ │ └── stickerset → long
│ │ ├── UpdateMessageExtendedMedia
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ └── extended_media → Vector < MessageExtendedMedia >
│ │ │ ├── MessageExtendedMediaPreview
│ │ │ └── MessageExtendedMedia
│ │ ├── UpdateUser
│ │ │ └── user_id → long
│ │ ├── UpdateAutoSaveSettings
│ │ ├── UpdateStory
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── story → StoryItem
│ │ │ ├── StoryItemDeleted
│ │ │ ├── StoryItemSkipped
│ │ │ └── StoryItem
│ │ ├── UpdateReadStories
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── max_id → int
│ │ ├── UpdateStoryID
│ │ │ ├── id → int
│ │ │ └── random_id → long
│ │ ├── UpdateStoriesStealthMode
│ │ │ └── stealth_mode → StoriesStealthMode
│ │ │ └── StoriesStealthMode
│ │ ├── UpdateSentStoryReaction
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── story_id → int
│ │ │ └── reaction → Reaction
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ ├── UpdateBotChatBoost
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── boost → Boost
│ │ │ │ └── Boost
│ │ │ └── qts → int
│ │ │ ├── channel_id → long
│ │ │ └── enabled → Bool
│ │ ├── UpdatePeerWallpaper
│ │ │ ├── wallpaper_overridden → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── wallpaper → WallPaper (optional)
│ │ │ ├── WallPaper
│ │ │ └── WallPaperNoFile
│ │ ├── UpdateBotMessageReaction
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── date → int
│ │ │ ├── actor → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── old_reactions → Vector < Reaction >
│ │ │ │ ├── ReactionEmpty
│ │ │ │ ├── ReactionEmoji
│ │ │ │ ├── ReactionCustomEmoji
│ │ │ │ └── ReactionPaid
│ │ │ ├── new_reactions → Vector < Reaction >
│ │ │ │ ├── ReactionEmpty
│ │ │ │ ├── ReactionEmoji
│ │ │ │ ├── ReactionCustomEmoji
│ │ │ │ └── ReactionPaid
│ │ │ └── qts → int
│ │ ├── UpdateBotMessageReactions
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── msg_id → int
│ │ │ ├── date → int
│ │ │ ├── reactions → Vector < ReactionCount >
│ │ │ │ └── ReactionCount
│ │ │ └── qts → int
│ │ ├── UpdateSavedDialogPinned
│ │ │ ├── pinned → true (optional)
│ │ │ └── peer → DialogPeer
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdatePinnedSavedDialogs
│ │ │ └── order → Vector < DialogPeer > (optional)
│ │ │ ├── DialogPeer
│ │ │ └── DialogPeerFolder
│ │ ├── UpdateSavedReactionTags
│ │ ├── UpdateSmsJob
│ │ │ └── job_id → string
│ │ ├── UpdateQuickReplies
│ │ │ └── quick_replies → Vector < QuickReply >
│ │ │ └── QuickReply
│ │ ├── UpdateNewQuickReply
│ │ │ └── quick_reply → QuickReply
│ │ │ └── QuickReply
│ │ ├── UpdateDeleteQuickReply
│ │ │ └── shortcut_id → int
│ │ ├── UpdateQuickReplyMessage
│ │ │ └── message → Message
│ │ │ ├── MessageEmpty
│ │ │ ├── Message
│ │ │ └── MessageService
│ │ │ ├── shortcut_id → int
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateBotBusinessConnect
│ │ │ ├── connection → BotBusinessConnection
│ │ │ │ └── BotBusinessConnection
│ │ │ └── qts → int
│ │ ├── UpdateBotNewBusinessMessage
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ │ ├── connection_id → string
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── messages → Vector < int >
│ │ │ └── qts → int
│ │ ├── UpdateNewStoryReaction
│ │ │ ├── story_id → int
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── reaction → Reaction
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ ├── UpdateStarsBalance
│ │ │ └── balance → StarsAmount
│ │ │ ├── StarsAmount
│ │ │ └── StarsTonAmount
│ │ │ ├── query_id → long
│ │ │ ├── user_id → long
│ │ │ ├── connection_id → string
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reply_to_message → Message (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── chat_instance → long
│ │ │ └── data → bytes (optional)
│ │ ├── UpdateStarsRevenueStatus
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── status → StarsRevenueStatus
│ │ │ └── StarsRevenueStatus
│ │ ├── UpdateBotPurchasedPaidMedia
│ │ │ ├── user_id → long
│ │ │ ├── payload → string
│ │ │ └── qts → int
│ │ ├── UpdatePaidReactionPrivacy
│ │ │ └── private → PaidReactionPrivacy
│ │ │ ├── PaidReactionPrivacyDefault
│ │ │ ├── PaidReactionPrivacyAnonymous
│ │ │ └── PaidReactionPrivacyPeer
│ │ ├── UpdateSentPhoneCode
│ │ │ └── sent_code → auth.SentCode
│ │ │ ├── auth.SentCode
│ │ │ ├── auth.SentCodeSuccess
│ │ │ └── auth.SentCodePaymentRequired
│ │ ├── UpdateGroupCallChainBlocks
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── sub_chain_id → int
│ │ │ ├── blocks → Vector < bytes >
│ │ │ └── next_offset → int
│ │ ├── UpdateReadMonoForumInbox
│ │ │ ├── channel_id → long
│ │ │ ├── saved_peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── read_max_id → int
│ │ ├── UpdateReadMonoForumOutbox
│ │ │ ├── channel_id → long
│ │ │ ├── saved_peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── read_max_id → int
│ │ │ ├── exception → true (optional)
│ │ │ ├── channel_id → long
│ │ │ └── saved_peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── UpdateGroupCallMessage
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── message → GroupCallMessage
│ │ │ └── GroupCallMessage
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── encrypted_message → bytes
│ │ ├── UpdatePinnedForumTopic
│ │ │ ├── pinned → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── topic_id → int
│ │ ├── UpdatePinnedForumTopics
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── order → Vector < int > (optional)
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── messages → Vector < int >
│ │ ├── UpdateStarGiftAuctionState
│ │ │ ├── gift_id → long
│ │ │ └── state → StarGiftAuctionState
│ │ │ ├── StarGiftAuctionStateNotModified
│ │ │ ├── StarGiftAuctionState
│ │ │ └── StarGiftAuctionStateFinished
│ │ │ ├── gift_id → long
│ │ │ └── user_state → StarGiftAuctionUserState
│ │ │ └── StarGiftAuctionUserState
│ │ ├── UpdateEmojiGameInfo
│ │ │ └── info → messages.EmojiGameInfo
│ │ │ ├── messages.EmojiGameUnavailable
│ │ │ └── messages.EmojiGameDiceInfo
│ │ ├── UpdateStarGiftCraftFail
│ │ ├── UpdateChatParticipantRank
│ │ │ ├── chat_id → long
│ │ │ ├── user_id → long
│ │ │ ├── rank → string
│ │ │ └── version → int
│ │ ├── UpdateManagedBot
│ │ │ ├── user_id → long
│ │ │ ├── bot_id → long
│ │ │ └── qts → int
│ │ ├── UpdateBotGuestChatQuery
│ │ │ ├── query_id → long
│ │ │ ├── message → Message
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ ├── reference_messages → Vector < Message > (optional)
│ │ │ │ ├── MessageEmpty
│ │ │ │ ├── Message
│ │ │ │ └── MessageService
│ │ │ └── qts → int
│ │ ├── UpdateAiComposeTones
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── query_id → long
│ │ │ └── result → JoinChatBotResult
│ │ │ ├── JoinChatBotResultApproved
│ │ │ ├── JoinChatBotResultDeclined
│ │ │ ├── JoinChatBotResultQueued
│ │ │ └── JoinChatBotResultWebView
│ │ ├── UpdateNewBotConnection
│ │ │ ├── confirmed → true (optional)
│ │ │ ├── bot_id → long
│ │ │ ├── date → int (optional)
│ │ │ ├── device → string (optional)
│ │ │ └── location → string (optional)
│ │ ├── UpdateWebBrowserSettings
│ │ │ ├── open_external_browser → true (optional)
│ │ │ └── display_close_button → true (optional)
│ │ └── UpdateWebBrowserException
│ │ ├── delete → true (optional)
│ │ ├── open_external_browser → Bool (optional)
│ │ └── exception → WebDomainException
│ │ └── WebDomainException
│ ├── users → Vector < User >
│ │ ├── UserEmpty
│ │ │ └── id → long
│ │ └── User
│ │ ├── is_self → true (optional)
│ │ ├── contact → true (optional)
│ │ ├── mutual_contact → true (optional)
│ │ ├── deleted → true (optional)
│ │ ├── bot → true (optional)
│ │ ├── bot_chat_history → true (optional)
│ │ ├── bot_nochats → true (optional)
│ │ ├── verified → true (optional)
│ │ ├── restricted → true (optional)
│ │ ├── min → true (optional)
│ │ ├── bot_inline_geo → true (optional)
│ │ ├── support → true (optional)
│ │ ├── scam → true (optional)
│ │ ├── apply_min_photo → true (optional)
│ │ ├── fake → true (optional)
│ │ ├── bot_attach_menu → true (optional)
│ │ ├── premium → true (optional)
│ │ ├── attach_menu_enabled → true (optional)
│ │ ├── bot_can_edit → true (optional)
│ │ ├── close_friend → true (optional)
│ │ ├── stories_hidden → true (optional)
│ │ ├── stories_unavailable → true (optional)
│ │ ├── contact_require_premium → true (optional)
│ │ ├── bot_business → true (optional)
│ │ ├── bot_has_main_app → true (optional)
│ │ ├── bot_forum_view → true (optional)
│ │ ├── bot_forum_can_manage_topics → true (optional)
│ │ ├── bot_can_manage_bots → true (optional)
│ │ ├── bot_guestchat → true (optional)
│ │ ├── bot_guard → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long (optional)
│ │ ├── first_name → string (optional)
│ │ ├── last_name → string (optional)
│ │ ├── username → string (optional)
│ │ ├── phone → string (optional)
│ │ ├── photo → UserProfilePhoto (optional)
│ │ │ ├── UserProfilePhotoEmpty
│ │ │ └── UserProfilePhoto
│ │ ├── status → UserStatus (optional)
│ │ │ ├── UserStatusEmpty
│ │ │ ├── UserStatusOnline
│ │ │ ├── UserStatusOffline
│ │ │ ├── UserStatusRecently
│ │ │ ├── UserStatusLastWeek
│ │ │ └── UserStatusLastMonth
│ │ ├── bot_info_version → int (optional)
│ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ ├── bot_inline_placeholder → string (optional)
│ │ ├── lang_code → string (optional)
│ │ ├── emoji_status → EmojiStatus (optional)
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ ├── EmojiStatusCollectible
│ │ │ └── InputEmojiStatusCollectible
│ │ ├── usernames → Vector < Username > (optional)
│ │ │ └── Username
│ │ ├── stories_max_id → RecentStory (optional)
│ │ │ └── RecentStory
│ │ ├── color → PeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── profile_color → PeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── bot_active_users → int (optional)
│ │ ├── bot_verification_icon → long (optional)
│ │ └── send_paid_messages_stars → long (optional)
│ ├── chats → Vector < Chat >
│ │ ├── ChatEmpty
│ │ │ └── id → long
│ │ ├── Chat
│ │ │ ├── creator → true (optional)
│ │ │ ├── left → true (optional)
│ │ │ ├── deactivated → true (optional)
│ │ │ ├── call_active → true (optional)
│ │ │ ├── call_not_empty → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── id → long
│ │ │ ├── title → string
│ │ │ ├── photo → ChatPhoto
│ │ │ │ ├── ChatPhotoEmpty
│ │ │ │ └── ChatPhoto
│ │ │ ├── participants_count → int
│ │ │ ├── date → int
│ │ │ ├── version → int
│ │ │ ├── migrated_to → InputChannel (optional)
│ │ │ │ ├── InputChannelEmpty
│ │ │ │ ├── InputChannel
│ │ │ │ └── InputChannelFromMessage
│ │ │ ├── admin_rights → ChatAdminRights (optional)
│ │ │ │ └── ChatAdminRights
│ │ │ └── default_banned_rights → ChatBannedRights (optional)
│ │ │ └── ChatBannedRights
│ │ ├── ChatForbidden
│ │ │ ├── id → long
│ │ │ └── title → string
│ │ ├── Channel
│ │ │ ├── creator → true (optional)
│ │ │ ├── left → true (optional)
│ │ │ ├── broadcast → true (optional)
│ │ │ ├── verified → true (optional)
│ │ │ ├── megagroup → true (optional)
│ │ │ ├── restricted → true (optional)
│ │ │ ├── signatures → true (optional)
│ │ │ ├── min → true (optional)
│ │ │ ├── scam → true (optional)
│ │ │ ├── has_link → true (optional)
│ │ │ ├── has_geo → true (optional)
│ │ │ ├── slowmode_enabled → true (optional)
│ │ │ ├── call_active → true (optional)
│ │ │ ├── call_not_empty → true (optional)
│ │ │ ├── fake → true (optional)
│ │ │ ├── gigagroup → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── join_to_send → true (optional)
│ │ │ ├── join_request → true (optional)
│ │ │ ├── forum → true (optional)
│ │ │ ├── stories_hidden → true (optional)
│ │ │ ├── stories_hidden_min → true (optional)
│ │ │ ├── stories_unavailable → true (optional)
│ │ │ ├── signature_profiles → true (optional)
│ │ │ ├── autotranslation → true (optional)
│ │ │ ├── broadcast_messages_allowed → true (optional)
│ │ │ ├── monoforum → true (optional)
│ │ │ ├── forum_tabs → true (optional)
│ │ │ ├── id → long
│ │ │ ├── access_hash → long (optional)
│ │ │ ├── title → string
│ │ │ ├── username → string (optional)
│ │ │ ├── photo → ChatPhoto
│ │ │ │ ├── ChatPhotoEmpty
│ │ │ │ └── ChatPhoto
│ │ │ ├── date → int
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── admin_rights → ChatAdminRights (optional)
│ │ │ │ └── ChatAdminRights
│ │ │ ├── banned_rights → ChatBannedRights (optional)
│ │ │ │ └── ChatBannedRights
│ │ │ ├── default_banned_rights → ChatBannedRights (optional)
│ │ │ │ └── ChatBannedRights
│ │ │ ├── participants_count → int (optional)
│ │ │ ├── usernames → Vector < Username > (optional)
│ │ │ │ └── Username
│ │ │ ├── stories_max_id → RecentStory (optional)
│ │ │ │ └── RecentStory
│ │ │ ├── color → PeerColor (optional)
│ │ │ │ ├── PeerColor
│ │ │ │ ├── PeerColorCollectible
│ │ │ │ └── InputPeerColorCollectible
│ │ │ ├── profile_color → PeerColor (optional)
│ │ │ │ ├── PeerColor
│ │ │ │ ├── PeerColorCollectible
│ │ │ │ └── InputPeerColorCollectible
│ │ │ ├── emoji_status → EmojiStatus (optional)
│ │ │ │ ├── EmojiStatusEmpty
│ │ │ │ ├── EmojiStatus
│ │ │ │ ├── EmojiStatusCollectible
│ │ │ │ └── InputEmojiStatusCollectible
│ │ │ ├── level → int (optional)
│ │ │ ├── subscription_until_date → int (optional)
│ │ │ ├── bot_verification_icon → long (optional)
│ │ │ ├── send_paid_messages_stars → long (optional)
│ │ │ └── linked_monoforum_id → long (optional)
│ │ └── ChannelForbidden
│ │ ├── broadcast → true (optional)
│ │ ├── megagroup → true (optional)
│ │ ├── monoforum → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── title → string
│ │ └── until_date → int (optional)
│ ├── date → int
│ └── seq → int
├── out → true (optional)
├── id → int
├── pts → int
├── pts_count → int
├── date → int
├── media → MessageMedia (optional)
│ ├── MessageMediaEmpty
│ ├── MessageMediaPhoto
│ │ ├── spoiler → true (optional)
│ │ ├── live_photo → true (optional)
│ │ ├── photo → Photo (optional)
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ ├── ttl_seconds → int (optional)
│ │ └── video → Document (optional)
│ │ ├── DocumentEmpty
│ │ └── Document
│ ├── MessageMediaGeo
│ │ └── geo → GeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ ├── MessageMediaContact
│ │ ├── phone_number → string
│ │ ├── first_name → string
│ │ ├── last_name → string
│ │ ├── vcard → string
│ │ └── user_id → long
│ ├── MessageMediaDocument
│ │ ├── nopremium → true (optional)
│ │ ├── spoiler → true (optional)
│ │ ├── video → true (optional)
│ │ ├── round → true (optional)
│ │ ├── voice → true (optional)
│ │ ├── document → Document (optional)
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── alt_documents → Vector < Document > (optional)
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── video_cover → Photo (optional)
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ ├── video_timestamp → int (optional)
│ │ └── ttl_seconds → int (optional)
│ ├── MessageMediaWebPage
│ │ ├── force_large_media → true (optional)
│ │ ├── force_small_media → true (optional)
│ │ ├── manual → true (optional)
│ │ ├── safe → true (optional)
│ │ └── webpage → WebPage
│ │ ├── WebPageEmpty
│ │ ├── WebPagePending
│ │ ├── WebPage
│ │ └── WebPageNotModified
│ ├── MessageMediaVenue
│ │ ├── geo → GeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ ├── title → string
│ │ ├── address → string
│ │ ├── provider → string
│ │ ├── venue_id → string
│ │ └── venue_type → string
│ ├── MessageMediaGame
│ │ └── game → Game
│ │ └── Game
│ ├── MessageMediaInvoice
│ │ ├── shipping_address_requested → true (optional)
│ │ ├── test → true (optional)
│ │ ├── title → string
│ │ ├── description → string
│ │ ├── photo → WebDocument (optional)
│ │ │ ├── WebDocument
│ │ │ └── WebDocumentNoProxy
│ │ ├── receipt_msg_id → int (optional)
│ │ ├── currency → string
│ │ ├── total_amount → long
│ │ ├── start_param → string
│ │ └── extended_media → MessageExtendedMedia (optional)
│ │ ├── MessageExtendedMediaPreview
│ │ └── MessageExtendedMedia
│ ├── MessageMediaGeoLive
│ │ ├── geo → GeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ ├── heading → int (optional)
│ │ ├── period → int
│ │ └── proximity_notification_radius → int (optional)
│ ├── MessageMediaPoll
│ │ ├── poll → Poll
│ │ │ └── Poll
│ │ ├── results → PollResults
│ │ │ └── PollResults
│ │ └── attached_media → MessageMedia (optional)
│ │ ├── MessageMediaEmpty
│ │ ├── MessageMediaPhoto
│ │ ├── MessageMediaGeo
│ │ ├── MessageMediaContact
│ │ ├── MessageMediaUnsupported
│ │ ├── MessageMediaDocument
│ │ ├── MessageMediaWebPage
│ │ ├── MessageMediaVenue
│ │ ├── MessageMediaGame
│ │ ├── MessageMediaInvoice
│ │ ├── MessageMediaGeoLive
│ │ ├── MessageMediaPoll
│ │ ├── MessageMediaDice
│ │ ├── MessageMediaStory
│ │ ├── MessageMediaGiveaway
│ │ ├── MessageMediaGiveawayResults
│ │ ├── MessageMediaPaidMedia
│ │ ├── MessageMediaToDo
│ │ └── MessageMediaVideoStream
│ ├── MessageMediaDice
│ │ ├── value → int
│ │ ├── emoticon → string
│ │ └── game_outcome → messages.EmojiGameOutcome (optional)
│ │ └── messages.EmojiGameOutcome
│ ├── MessageMediaStory
│ │ ├── via_mention → true (optional)
│ │ ├── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── id → int
│ │ └── story → StoryItem (optional)
│ │ ├── StoryItemDeleted
│ │ ├── StoryItemSkipped
│ │ └── StoryItem
│ ├── MessageMediaGiveaway
│ │ ├── only_new_subscribers → true (optional)
│ │ ├── winners_are_visible → true (optional)
│ │ ├── channels → Vector < long >
│ │ ├── countries_iso2 → Vector < string > (optional)
│ │ ├── prize_description → string (optional)
│ │ ├── quantity → int
│ │ ├── months → int (optional)
│ │ ├── stars → long (optional)
│ │ └── until_date → int
│ │ ├── only_new_subscribers → true (optional)
│ │ ├── refunded → true (optional)
│ │ ├── channel_id → long
│ │ ├── additional_peers_count → int (optional)
│ │ ├── launch_msg_id → int
│ │ ├── winners_count → int
│ │ ├── unclaimed_count → int
│ │ ├── winners → Vector < long >
│ │ ├── months → int (optional)
│ │ ├── stars → long (optional)
│ │ ├── prize_description → string (optional)
│ │ └── until_date → int
│ ├── MessageMediaPaidMedia
│ │ ├── stars_amount → long
│ │ └── extended_media → Vector < MessageExtendedMedia >
│ │ ├── MessageExtendedMediaPreview
│ │ └── MessageExtendedMedia
│ ├── MessageMediaToDo
│ │ ├── todo → TodoList
│ │ │ └── TodoList
│ │ └── completions → Vector < TodoCompletion > (optional)
│ │ └── TodoCompletion
│ ├── rtmp_stream → true (optional)
│ └── call → InputGroupCall
│ ├── InputGroupCall
│ ├── InputGroupCallSlug
├── entities → Vector < MessageEntity > (optional)
│ ├── MessageEntityUnknown
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityMention
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityHashtag
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityUrl
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityEmail
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityBold
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityItalic
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityCode
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityPre
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── language → string
│ ├── MessageEntityTextUrl
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── url → string
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── user_id → long
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── user_id → InputUser
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── MessageEntityPhone
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityCashtag
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityStrike
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityBankCard
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntitySpoiler
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── document_id → long
│ │ ├── collapsed → true (optional)
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── relative → true (optional)
│ │ ├── short_time → true (optional)
│ │ ├── long_time → true (optional)
│ │ ├── short_date → true (optional)
│ │ ├── long_date → true (optional)
│ │ ├── day_of_week → true (optional)
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── date → int
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── old_text → string
│ ├── offset → int
│ └── length → int
└── ttl_period → int (optional)

Example

PaymentResult(
    updates=UpdatesTooLong(),
)