Update

class pyrogram.raw.base.Update

Object contains info on events occurred.

Constructors:

This base type has 160 constructors available.

UpdateAiComposeTones

Telegram API type.

UpdateAttachMenuBots

The list of installed attachment menu entries » has changed, use messages.getAttachMenuBots to fetch the updated list.

UpdateAutoSaveSettings

Media autosave settings have changed and must be refetched using account.getAutoSaveSettings.

UpdateBotBusinessConnect

Connecting or disconnecting a business bot or changing the connection settings will emit an updateBotBusinessConnect update to the bot, with the new settings and a connection_id that will be used by the bot to handle updates from and send messages as the user.

UpdateBotCallbackQuery

A callback button was pressed, and the button data was sent to the bot that created the button

UpdateBotChatBoost

A channel/supergroup boost has changed (bots only)

UpdateBotChatInviteRequester

Someone has requested to join a chat or channel (bots only, users will receive an updatePendingJoinRequests, instead)

UpdateBotCommands

The command set of a certain bot in a certain chat has changed.

UpdateBotDeleteBusinessMessage

A message was deleted in a connected business chat ».

UpdateBotEditBusinessMessage

A message was edited in a connected business chat ».

UpdateBotGuestChatQuery

Telegram API type.

UpdateBotInlineQuery

An incoming inline query

UpdateBotInlineSend

The result of an inline query that was chosen by a user and sent to their chat partner.

UpdateBotMenuButton

The menu button behavior for the specified bot has changed

UpdateBotMessageReaction

Bots only: a user has changed their reactions on a message with public reactions.

UpdateBotMessageReactions

Bots only: the number of reactions on a message with anonymous reactions has changed.

UpdateBotNewBusinessMessage

A message was received via a connected business chat ».

UpdateBotPrecheckoutQuery

This object contains information about an incoming pre-checkout query.

UpdateBotPurchasedPaidMedia

Bots only: a user has purchased a paid media.

UpdateBotShippingQuery

This object contains information about an incoming shipping query.

UpdateBotStopped

A bot was stopped or re-started.

UpdateBotWebhookJSON

A new incoming event; for bots only

UpdateBotWebhookJSONQuery

A new incoming query; for bots only

UpdateBusinessBotCallbackQuery

A callback button sent via a business connection was pressed, and the button data was sent to the bot that created the button.

UpdateChannel

Channel/supergroup (channel and/or channelFull) information was updated.

UpdateChannelAvailableMessages

The history of a channel/supergroup was hidden.

UpdateChannelMessageForwards

The forward counter of a message in a channel has changed

UpdateChannelMessageViews

The view counter of a message in a channel has changed

UpdateChannelParticipant

A participant has left, joined, was banned or admined in a channel or supergroup.

UpdateChannelReadMessagesContents

The specified channel/supergroup messages were read (emitted specifically for messages like voice messages or video, only once the media is watched and marked as read using channels.readMessageContents)

UpdateChannelTooLong

There are new updates in the specified channel, the client must fetch them.

UpdateChannelUserTyping

A user is typing in a supergroup, channel or message thread

UpdateChannelViewForumAsMessages

Users may also choose to display messages from all topics as if they were sent to a normal group, using a "View as messages" setting in the local client.

UpdateChannelWebPage

A webpage preview of a link in a channel/supergroup message was generated

UpdateChat

Chat (chat and/or chatFull) information was updated.

UpdateChatDefaultBannedRights

Default banned rights in a normal chat were updated

UpdateChatParticipant

A user has joined or left a specific chat

UpdateChatParticipantAdd

New group member.

UpdateChatParticipantAdmin

Admin permissions of a user in a basic group were changed

UpdateChatParticipantDelete

A member has left the group.

UpdateChatParticipantRank

Telegram API type.

UpdateChatParticipants

Composition of chat participants changed.

UpdateChatUserTyping

The user is preparing a message in a group; typing, recording, uploading, etc.

UpdateConfig

The server-side configuration has changed; the client should re-fetch the config using help.getConfig and help.getAppConfig.

UpdateContactsReset

All contacts were deleted

UpdateDcOptions

Changes in the data center configuration options.

UpdateDeleteChannelMessages

Some messages in a supergroup/channel were deleted

UpdateDeleteGroupCallMessages

{schema}

UpdateDeleteMessages

Messages were deleted.

UpdateDeleteQuickReply

A quick reply shortcut » was deleted.

UpdateDeleteQuickReplyMessages

One or more messages in a quick reply shortcut » were deleted.

UpdateDeleteScheduledMessages

Some scheduled messages were deleted (or sent) from the schedule queue of a chat

UpdateDialogFilter

A new folder was added

UpdateDialogFilterOrder

New folder order

UpdateDialogFilters

Clients should update folder info

UpdateDialogPinned

A dialog was pinned/unpinned

UpdateDialogUnreadMark

The manual unread mark of a chat was changed

UpdateDraftMessage

Notifies a change of a message draft.

UpdateEditChannelMessage

A message was edited in a channel/supergroup

UpdateEditMessage

A message was edited

UpdateEmojiGameInfo

{schema}

UpdateEncryptedChatTyping

Interlocutor is typing a message in an encrypted chat.

UpdateEncryptedMessagesRead

Communication history in an encrypted chat was marked as read.

UpdateEncryption

Change of state in an encrypted chat.

UpdateFavedStickers

The list of favorited stickers was changed, the client should call messages.getFavedStickers to refetch the new list

UpdateFolderPeers

The peer list of a peer folder was updated

UpdateGeoLiveViewed

Live geoposition message was viewed

UpdateGroupCall

A new groupcall was started

UpdateGroupCallChainBlocks

Contains updates to the blockchain of a conference call, see here » for more info.

UpdateGroupCallConnection

New WebRTC parameters

UpdateGroupCallEncryptedMessage

{schema}

UpdateGroupCallMessage

{schema}

UpdateGroupCallParticipants

The participant list of a certain group call has changed

UpdateInlineBotCallbackQuery

This notification is received by bots when a button is pressed

UpdateJoinChatWebViewDecision

Telegram API type.

UpdateLangPack

Language pack updated

UpdateLangPackTooLong

A language pack has changed, the client should manually fetch the changed strings using langpack.getDifference

UpdateLoginToken

A login token (for login via QR code) was accepted.

UpdateManagedBot

Telegram API type.

UpdateMessageExtendedMedia

You bought a paid media »: this update contains the revealed media.

UpdateMessageID

Sent message with random_id client identifier was assigned an identifier.

UpdateMessagePoll

The results of a poll have changed

UpdateMessagePollVote

A specific peer has voted in a poll

UpdateMessageReactions

New message reactions » are available

UpdateMonoForumNoPaidException

An admin has (un)exempted this monoforum topic » from payment to send messages using account.toggleNoPaidMessagesException.

UpdateMoveStickerSetToTop

A stickerset was just moved to top, see here for more info »

UpdateNewAuthorization

A new session logged into the current user's account through an unknown device.

UpdateNewBotConnection

Telegram API type.

UpdateNewChannelMessage

A new message was sent in a channel/supergroup

UpdateNewEncryptedMessage

New encrypted message.

UpdateNewMessage

New message in a private chat or in a basic group.

UpdateNewQuickReply

A new quick reply shortcut » was created.

UpdateNewScheduledMessage

A message was added to the schedule queue of a chat

UpdateNewStickerSet

A new stickerset was installed

UpdateNewStoryReaction

Represents a new reaction to a story.

UpdateNotifySettings

Changes in notification settings.

UpdatePaidReactionPrivacy

Contains the current default paid reaction privacy, see here » for more info.

UpdatePeerBlocked

We blocked a peer, see here » for more info on blocklists.

UpdatePeerHistoryTTL

The Time-To-Live for messages sent by the current user in a specific chat has changed

UpdatePeerLocated

List of peers near you was updated

UpdatePeerSettings

Settings of a certain peer have changed

UpdatePeerWallpaper

The wallpaper » of a given peer has changed.

UpdatePendingJoinRequests

Someone has requested to join a chat or channel

UpdatePhoneCall

An incoming phone call

UpdatePhoneCallSignalingData

Incoming phone call signaling payload

UpdatePinnedChannelMessages

Messages were pinned/unpinned in a channel/supergroup

UpdatePinnedDialogs

Pinned dialogs were updated

UpdatePinnedForumTopic

{schema}

UpdatePinnedForumTopics

{schema}

UpdatePinnedMessages

Some messages were pinned in a chat

UpdatePinnedSavedDialogs

Pinned saved dialogs » were updated

UpdatePrivacy

Privacy rules were changed

UpdatePtsChanged

Common message box sequence PTS has changed, state has to be refetched using updates.getState

UpdateQuickReplies

Info about or the order of quick reply shortcuts » was changed.

UpdateQuickReplyMessage

A new message was added to a quick reply shortcut ».

UpdateReadChannelDiscussionInbox

Incoming comments in a discussion thread were marked as read

UpdateReadChannelDiscussionOutbox

Outgoing comments in a discussion thread were marked as read

UpdateReadChannelInbox

Incoming messages in a channel/supergroup were read

UpdateReadChannelOutbox

Outgoing messages in a channel/supergroup were read

UpdateReadFeaturedEmojiStickers

Some featured custom emoji stickers were marked as read

UpdateReadFeaturedStickers

Some featured stickers were marked as read

UpdateReadHistoryInbox

Incoming messages were read

UpdateReadHistoryOutbox

Outgoing messages were read

UpdateReadMessagesContents

Contents of messages in the common message box were read (emitted specifically for messages like voice messages or video, only once the media is watched and marked as read using messages.readMessageContents).

UpdateReadMonoForumInbox

Incoming messages in a monoforum topic were read

UpdateReadMonoForumOutbox

Outgoing messages in a monoforum were read.

UpdateReadStories

Stories of a specific peer were marked as read.

UpdateRecentEmojiStatuses

The list of recent emoji statuses has changed

UpdateRecentReactions

The list of recent message reactions has changed

UpdateRecentStickers

The recent sticker list was updated

UpdateSavedDialogPinned

A saved message dialog was pinned/unpinned

UpdateSavedGifs

The saved gif list has changed, the client should refetch it using messages.getSavedGifs

UpdateSavedReactionTags

The list of reaction tag » names assigned by the user has changed and should be refetched using messages.getSavedReactionTags ».

UpdateSavedRingtones

The list of saved notification sounds has changed, use account.getSavedRingtones to fetch the new list.

UpdateSentPhoneCode

A paid login SMS code was successfully sent.

UpdateSentStoryReaction

Indicates we reacted to a story ».

UpdateServiceNotification

A service message for the user.

UpdateSmsJob

A new SMS job was received

UpdateStarGiftAuctionState

{schema}

UpdateStarGiftAuctionUserState

{schema}

UpdateStarGiftCraftFail

{schema}

UpdateStarsBalance

The current account's Telegram Stars balance » has changed.

UpdateStarsRevenueStatus

The Telegram Star balance of a channel/bot we own has changed ».

UpdateStickerSets

Installed stickersets have changed, the client should refetch them as described in the docs.

UpdateStickerSetsOrder

The order of stickersets was changed

UpdateStoriesStealthMode

Indicates that stories stealth mode was activated.

UpdateStory

A new story was posted.

UpdateStoryID

A story was successfully uploaded.

UpdateTheme

A cloud theme was updated

UpdateTranscribedAudio

A pending voice message transcription » initiated with messages.transcribeAudio was updated.

UpdateUser

User (user and/or userFull) information was updated.

UpdateUserEmojiStatus

The emoji status of a certain user has changed

UpdateUserName

Changes the user's first name, last name and username.

UpdateUserPhone

A user's phone number was changed

UpdateUserStatus

Contact status update.

UpdateUserTyping

The user is preparing a message; typing, recording, uploading, etc.

UpdateWebBrowserException

Telegram API type.

UpdateWebBrowserSettings

Telegram API type.

UpdateWebPage

An instant view webpage preview was generated

UpdateWebViewResultSent

Indicates to a bot that a webview was closed and an inline message was sent on behalf of the user using messages.sendWebViewResultMessage

TL Schema


Parameter Tree

Update
│ ├── message → Message
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── pts → int
│ └── pts_count → int
├── UpdateMessageID
│ ├── id → int
│ └── random_id → long
│ ├── messages → Vector < int >
│ ├── pts → int
│ └── pts_count → int
│ ├── user_id → long
│ ├── top_msg_id → int (optional)
│ └── action → SendMessageAction
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ ├── emoticon → string
│ │ ├── msg_id → int
│ │ └── interaction → DataJSON
│ │ └── DataJSON
│ │ └── emoticon → string
│ │ ├── random_id → long
│ │ └── text → TextWithEntities
│ │ └── TextWithEntities
│ │ ├── random_id → long
│ │ └── rich_message → InputRichMessage
│ │ ├── InputRichMessage
│ │ ├── InputRichMessageHTML
│ │ └── InputRichMessageMarkdown
│ ├── random_id → long
│ └── rich_message → RichMessage
│ └── RichMessage
│ ├── chat_id → long
│ ├── from_id → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── action → SendMessageAction
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ ├── emoticon → string
│ │ ├── msg_id → int
│ │ └── interaction → DataJSON
│ │ └── DataJSON
│ │ └── emoticon → string
│ │ ├── random_id → long
│ │ └── text → TextWithEntities
│ │ └── TextWithEntities
│ │ ├── random_id → long
│ │ └── rich_message → InputRichMessage
│ │ ├── InputRichMessage
│ │ ├── InputRichMessageHTML
│ │ └── InputRichMessageMarkdown
│ ├── random_id → long
│ └── rich_message → RichMessage
│ └── RichMessage
│ └── participants → ChatParticipants
│ │ ├── chat_id → long
│ │ └── self_participant → ChatParticipant (optional)
│ │ ├── ChatParticipant
│ │ ├── ChatParticipantCreator
│ │ └── ChatParticipantAdmin
│ └── ChatParticipants
│ ├── chat_id → long
│ ├── participants → Vector < ChatParticipant >
│ │ ├── ChatParticipant
│ │ ├── ChatParticipantCreator
│ │ └── ChatParticipantAdmin
│ └── version → int
│ ├── user_id → long
│ └── status → UserStatus
│ ├── UserStatusEmpty
│ ├── UserStatusOnline
│ │ └── expires → int
│ ├── UserStatusOffline
│ │ └── was_online → int
│ ├── UserStatusRecently
│ │ └── by_me → true (optional)
│ ├── UserStatusLastWeek
│ │ └── by_me → true (optional)
│ └── UserStatusLastMonth
│ └── by_me → true (optional)
├── UpdateUserName
│ ├── user_id → long
│ ├── first_name → string
│ ├── last_name → string
│ └── usernames → Vector < Username >
│ └── Username
│ ├── editable → true (optional)
│ ├── active → true (optional)
│ └── username → string
│ ├── unconfirmed → true (optional)
│ ├── hash → long
│ ├── date → int (optional)
│ ├── device → string (optional)
│ └── location → string (optional)
│ ├── message → EncryptedMessage
│ │ ├── EncryptedMessage
│ │ │ ├── random_id → long
│ │ │ ├── chat_id → int
│ │ │ ├── date → int
│ │ │ ├── bytes → bytes
│ │ │ └── file → EncryptedFile
│ │ │ ├── EncryptedFileEmpty
│ │ │ └── EncryptedFile
│ │ └── EncryptedMessageService
│ │ ├── random_id → long
│ │ ├── chat_id → int
│ │ ├── date → int
│ │ └── bytes → bytes
│ └── qts → int
│ └── chat_id → int
│ ├── chat → EncryptedChat
│ │ ├── EncryptedChatEmpty
│ │ │ └── id → int
│ │ ├── EncryptedChatWaiting
│ │ │ ├── id → int
│ │ │ ├── access_hash → long
│ │ │ ├── date → int
│ │ │ ├── admin_id → long
│ │ │ └── participant_id → long
│ │ ├── EncryptedChatRequested
│ │ │ ├── folder_id → int (optional)
│ │ │ ├── id → int
│ │ │ ├── access_hash → long
│ │ │ ├── date → int
│ │ │ ├── admin_id → long
│ │ │ ├── participant_id → long
│ │ │ └── g_a → bytes
│ │ ├── EncryptedChat
│ │ │ ├── id → int
│ │ │ ├── access_hash → long
│ │ │ ├── date → int
│ │ │ ├── admin_id → long
│ │ │ ├── participant_id → long
│ │ │ ├── g_a_or_b → bytes
│ │ │ └── key_fingerprint → long
│ │ └── EncryptedChatDiscarded
│ │ ├── history_deleted → true (optional)
│ │ └── id → int
│ └── date → int
│ ├── chat_id → int
│ ├── max_date → int
│ └── date → int
│ ├── chat_id → long
│ ├── user_id → long
│ ├── inviter_id → long
│ ├── date → int
│ └── version → int
│ ├── chat_id → long
│ ├── user_id → long
│ └── version → int
├── UpdateDcOptions
│ └── dc_options → Vector < DcOption >
│ └── DcOption
│ ├── ipv6 → true (optional)
│ ├── media_only → true (optional)
│ ├── tcpo_only → true (optional)
│ ├── cdn → true (optional)
│ ├── static → true (optional)
│ ├── this_port_only → true (optional)
│ ├── id → int
│ ├── ip_address → string
│ ├── port → int
│ └── secret → bytes (optional)
│ ├── peer → NotifyPeer
│ │ ├── NotifyPeer
│ │ │ └── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── NotifyUsers
│ │ ├── NotifyChats
│ │ ├── NotifyBroadcasts
│ │ └── NotifyForumTopic
│ │ ├── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ └── top_msg_id → int
│ └── notify_settings → PeerNotifySettings
│ └── PeerNotifySettings
│ ├── show_previews → Bool (optional)
│ ├── silent → Bool (optional)
│ ├── mute_until → int (optional)
│ ├── ios_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── android_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── other_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── stories_muted → Bool (optional)
│ ├── stories_hide_sender → Bool (optional)
│ ├── stories_ios_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── stories_android_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ └── stories_other_sound → NotificationSound (optional)
│ ├── NotificationSoundNone
│ ├── popup → true (optional)
│ ├── invert_media → true (optional)
│ ├── inbox_date → int (optional)
│ ├── type → string
│ ├── message → string
│ ├── media → MessageMedia
│ │ ├── 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
│ │ ├── MessageMediaUnsupported
│ │ ├── 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
│ │ ├── MessageMediaGiveawayResults
│ │ │ ├── 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
│ │ └── MessageMediaVideoStream
│ │ ├── rtmp_stream → true (optional)
│ │ └── call → InputGroupCall
│ │ ├── InputGroupCall
│ │ ├── InputGroupCallSlug
│ │ └── InputGroupCallInviteMessage
│ └── entities → Vector < MessageEntity >
│ ├── 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
├── UpdatePrivacy
│ ├── key → PrivacyKey
│ │ ├── PrivacyKeyStatusTimestamp
│ │ ├── PrivacyKeyChatInvite
│ │ ├── PrivacyKeyPhoneCall
│ │ ├── PrivacyKeyPhoneP2P
│ │ ├── PrivacyKeyForwards
│ │ ├── PrivacyKeyProfilePhoto
│ │ ├── PrivacyKeyPhoneNumber
│ │ ├── PrivacyKeyAddedByPhone
│ │ ├── PrivacyKeyVoiceMessages
│ │ ├── PrivacyKeyAbout
│ │ ├── PrivacyKeyBirthday
│ │ ├── PrivacyKeyStarGiftsAutoSave
│ │ ├── PrivacyKeyNoPaidMessages
│ │ └── PrivacyKeySavedMusic
│ └── rules → Vector < PrivacyRule >
│ ├── PrivacyValueAllowAll
│ │ └── users → Vector < long >
│ │ └── users → Vector < long >
│ │ └── chats → Vector < long >
│ │ └── chats → Vector < long >
│ ├── PrivacyValueAllowBots
├── UpdateUserPhone
│ ├── user_id → long
│ └── phone → string
│ ├── folder_id → int (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── top_msg_id → int (optional)
│ ├── max_id → int
│ ├── still_unread_count → int
│ ├── pts → int
│ └── pts_count → int
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── max_id → int
│ ├── pts → int
│ └── pts_count → int
├── UpdateWebPage
│ ├── webpage → WebPage
│ │ ├── WebPageEmpty
│ │ │ ├── id → long
│ │ │ └── url → string (optional)
│ │ ├── WebPagePending
│ │ │ ├── id → long
│ │ │ ├── url → string (optional)
│ │ │ └── date → int
│ │ ├── WebPage
│ │ │ ├── has_large_media → true (optional)
│ │ │ ├── video_cover_photo → true (optional)
│ │ │ ├── id → long
│ │ │ ├── url → string
│ │ │ ├── display_url → string
│ │ │ ├── hash → int
│ │ │ ├── type → string (optional)
│ │ │ ├── site_name → string (optional)
│ │ │ ├── title → string (optional)
│ │ │ ├── description → string (optional)
│ │ │ ├── photo → Photo (optional)
│ │ │ │ ├── PhotoEmpty
│ │ │ │ └── Photo
│ │ │ ├── embed_url → string (optional)
│ │ │ ├── embed_type → string (optional)
│ │ │ ├── embed_width → int (optional)
│ │ │ ├── embed_height → int (optional)
│ │ │ ├── duration → int (optional)
│ │ │ ├── author → string (optional)
│ │ │ ├── document → Document (optional)
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ ├── cached_page → Page (optional)
│ │ │ │ └── Page
│ │ │ └── attributes → Vector < WebPageAttribute > (optional)
│ │ │ ├── WebPageAttributeTheme
│ │ │ ├── WebPageAttributeStory
│ │ │ ├── WebPageAttributeStickerSet
│ │ │ ├── WebPageAttributeUniqueStarGift
│ │ │ ├── WebPageAttributeStarGiftAuction
│ │ │ └── WebPageAttributeAiComposeTone
│ │ └── WebPageNotModified
│ │ └── cached_page_views → int (optional)
│ ├── pts → int
│ └── pts_count → int
│ ├── messages → Vector < int >
│ ├── pts → int
│ ├── pts_count → int
│ └── date → int (optional)
│ ├── channel_id → long
│ └── pts → int (optional)
├── UpdateChannel
│ └── channel_id → long
│ ├── message → Message
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── pts → int
│ └── pts_count → int
│ ├── folder_id → int (optional)
│ ├── channel_id → long
│ ├── max_id → int
│ ├── still_unread_count → int
│ └── pts → int
│ ├── channel_id → long
│ ├── messages → Vector < int >
│ ├── pts → int
│ └── pts_count → int
│ ├── channel_id → long
│ ├── id → int
│ └── views → int
│ ├── chat_id → long
│ ├── user_id → long
│ ├── is_admin → Bool
│ └── version → int
│ └── stickerset → messages.StickerSet
│ ├── messages.StickerSet
│ │ ├── set → StickerSet
│ │ │ └── StickerSet
│ │ ├── packs → Vector < StickerPack >
│ │ │ └── StickerPack
│ │ ├── keywords → Vector < StickerKeyword >
│ │ │ └── StickerKeyword
│ │ └── documents → Vector < Document >
│ │ ├── DocumentEmpty
│ │ └── Document
│ ├── masks → true (optional)
│ ├── emojis → true (optional)
│ └── order → Vector < long >
│ ├── masks → true (optional)
│ └── emojis → true (optional)
├── UpdateSavedGifs
│ ├── query_id → long
│ ├── user_id → long
│ ├── query → string
│ ├── geo → GeoPoint (optional)
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ │ ├── long → double
│ │ ├── lat → double
│ │ ├── access_hash → long
│ │ └── accuracy_radius → int (optional)
│ ├── peer_type → InlineQueryPeerType (optional)
│ │ ├── InlineQueryPeerTypePM
│ │ ├── InlineQueryPeerTypeChat
│ │ └── InlineQueryPeerTypeBotPM
│ └── offset → string
│ ├── user_id → long
│ ├── query → string
│ ├── geo → GeoPoint (optional)
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ │ ├── long → double
│ │ ├── lat → double
│ │ ├── access_hash → long
│ │ └── accuracy_radius → int (optional)
│ ├── id → string
│ └── msg_id → InputBotInlineMessageID (optional)
│ │ ├── dc_id → int
│ │ ├── id → long
│ │ └── access_hash → long
│ ├── dc_id → int
│ ├── owner_id → long
│ ├── id → int
│ └── access_hash → long
│ ├── message → Message
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── pts → int
│ └── pts_count → int
│ ├── query_id → long
│ ├── user_id → long
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── msg_id → int
│ ├── chat_instance → long
│ ├── data → bytes (optional)
│ └── game_short_name → string (optional)
│ ├── message → Message
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── pts → int
│ └── pts_count → int
│ ├── query_id → long
│ ├── user_id → long
│ ├── msg_id → InputBotInlineMessageID
│ │ ├── InputBotInlineMessageID
│ │ │ ├── dc_id → int
│ │ │ ├── id → long
│ │ │ └── access_hash → long
│ │ └── InputBotInlineMessageID64
│ │ ├── dc_id → int
│ │ ├── owner_id → long
│ │ ├── id → int
│ │ └── access_hash → long
│ ├── chat_instance → long
│ ├── data → bytes (optional)
│ └── game_short_name → string (optional)
│ ├── channel_id → long
│ └── max_id → int
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── top_msg_id → int (optional)
│ ├── saved_peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── draft → DraftMessage
│ ├── DraftMessageEmpty
│ │ └── date → int (optional)
│ └── DraftMessage
│ ├── no_webpage → true (optional)
│ ├── invert_media → true (optional)
│ ├── reply_to → InputReplyTo (optional)
│ │ ├── InputReplyToMessage
│ │ ├── InputReplyToStory
│ │ └── InputReplyToMonoForum
│ ├── message → string
│ ├── entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ ├── MessageEntityFormattedDate
│ │ ├── MessageEntityDiffInsert
│ │ ├── MessageEntityDiffReplace
│ │ └── MessageEntityDiffDelete
│ ├── media → InputMedia (optional)
│ │ ├── InputMediaEmpty
│ │ ├── InputMediaUploadedPhoto
│ │ ├── InputMediaPhoto
│ │ ├── InputMediaGeoPoint
│ │ ├── InputMediaContact
│ │ ├── InputMediaUploadedDocument
│ │ ├── InputMediaDocument
│ │ ├── InputMediaVenue
│ │ ├── InputMediaPhotoExternal
│ │ ├── InputMediaDocumentExternal
│ │ ├── InputMediaGame
│ │ ├── InputMediaInvoice
│ │ ├── InputMediaGeoLive
│ │ ├── InputMediaPoll
│ │ ├── InputMediaDice
│ │ ├── InputMediaStory
│ │ ├── InputMediaWebPage
│ │ ├── InputMediaPaidMedia
│ │ ├── InputMediaTodo
│ │ └── InputMediaStakeDice
│ ├── date → int
│ ├── effect → long (optional)
│ ├── suggested_post → SuggestedPost (optional)
│ │ └── SuggestedPost
│ └── rich_message → RichMessage (optional)
│ └── RichMessage
├── UpdateConfig
│ ├── channel_id → long
│ ├── webpage → WebPage
│ │ ├── WebPageEmpty
│ │ │ ├── id → long
│ │ │ └── url → string (optional)
│ │ ├── WebPagePending
│ │ │ ├── id → long
│ │ │ ├── url → string (optional)
│ │ │ └── date → int
│ │ ├── WebPage
│ │ │ ├── has_large_media → true (optional)
│ │ │ ├── video_cover_photo → true (optional)
│ │ │ ├── id → long
│ │ │ ├── url → string
│ │ │ ├── display_url → string
│ │ │ ├── hash → int
│ │ │ ├── type → string (optional)
│ │ │ ├── site_name → string (optional)
│ │ │ ├── title → string (optional)
│ │ │ ├── description → string (optional)
│ │ │ ├── photo → Photo (optional)
│ │ │ │ ├── PhotoEmpty
│ │ │ │ └── Photo
│ │ │ ├── embed_url → string (optional)
│ │ │ ├── embed_type → string (optional)
│ │ │ ├── embed_width → int (optional)
│ │ │ ├── embed_height → int (optional)
│ │ │ ├── duration → int (optional)
│ │ │ ├── author → string (optional)
│ │ │ ├── document → Document (optional)
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ ├── cached_page → Page (optional)
│ │ │ │ └── Page
│ │ │ └── attributes → Vector < WebPageAttribute > (optional)
│ │ │ ├── WebPageAttributeTheme
│ │ │ ├── WebPageAttributeStory
│ │ │ ├── WebPageAttributeStickerSet
│ │ │ ├── WebPageAttributeUniqueStarGift
│ │ │ ├── WebPageAttributeStarGiftAuction
│ │ │ └── WebPageAttributeAiComposeTone
│ │ └── WebPageNotModified
│ │ └── cached_page_views → int (optional)
│ ├── pts → int
│ └── pts_count → int
│ ├── pinned → true (optional)
│ ├── folder_id → int (optional)
│ └── peer → DialogPeer
│ ├── DialogPeer
│ │ └── peer → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ └── DialogPeerFolder
│ └── folder_id → int
│ ├── folder_id → int (optional)
│ └── order → Vector < DialogPeer > (optional)
│ ├── DialogPeer
│ │ └── peer → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ └── DialogPeerFolder
│ └── folder_id → int
│ └── data → DataJSON
│ └── DataJSON
│ └── data → string
│ ├── query_id → long
│ ├── data → DataJSON
│ │ └── DataJSON
│ │ └── data → string
│ └── timeout → int
│ ├── query_id → long
│ ├── user_id → long
│ ├── payload → bytes
│ └── shipping_address → PostAddress
│ └── PostAddress
│ ├── street_line1 → string
│ ├── street_line2 → string
│ ├── city → string
│ ├── state → string
│ ├── country_iso2 → string
│ └── post_code → string
│ ├── query_id → long
│ ├── user_id → long
│ ├── payload → bytes
│ ├── info → PaymentRequestedInfo (optional)
│ │ └── PaymentRequestedInfo
│ │ ├── name → string (optional)
│ │ ├── phone → string (optional)
│ │ ├── email → string (optional)
│ │ └── shipping_address → PostAddress (optional)
│ │ └── PostAddress
│ ├── shipping_option_id → string (optional)
│ ├── currency → string
│ └── total_amount → long
├── UpdatePhoneCall
│ └── phone_call → PhoneCall
│ ├── PhoneCallEmpty
│ │ └── id → long
│ ├── PhoneCallWaiting
│ │ ├── video → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── date → int
│ │ ├── admin_id → long
│ │ ├── participant_id → long
│ │ ├── protocol → PhoneCallProtocol
│ │ │ └── PhoneCallProtocol
│ │ └── receive_date → int (optional)
│ ├── PhoneCallRequested
│ │ ├── video → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── date → int
│ │ ├── admin_id → long
│ │ ├── participant_id → long
│ │ ├── g_a_hash → bytes
│ │ └── protocol → PhoneCallProtocol
│ │ └── PhoneCallProtocol
│ ├── PhoneCallAccepted
│ │ ├── video → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── date → int
│ │ ├── admin_id → long
│ │ ├── participant_id → long
│ │ ├── g_b → bytes
│ │ └── protocol → PhoneCallProtocol
│ │ └── PhoneCallProtocol
│ ├── PhoneCall
│ │ ├── p2p_allowed → true (optional)
│ │ ├── video → true (optional)
│ │ ├── conference_supported → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── date → int
│ │ ├── admin_id → long
│ │ ├── participant_id → long
│ │ ├── g_a_or_b → bytes
│ │ ├── key_fingerprint → long
│ │ ├── protocol → PhoneCallProtocol
│ │ │ └── PhoneCallProtocol
│ │ ├── connections → Vector < PhoneConnection >
│ │ │ ├── PhoneConnection
│ │ │ └── PhoneConnectionWebrtc
│ │ ├── start_date → int
│ │ └── custom_parameters → DataJSON (optional)
│ │ └── DataJSON
│ └── PhoneCallDiscarded
│ ├── need_rating → true (optional)
│ ├── need_debug → true (optional)
│ ├── video → true (optional)
│ ├── id → long
│ ├── reason → PhoneCallDiscardReason (optional)
│ │ ├── PhoneCallDiscardReasonBusy
│ └── duration → int (optional)
│ └── lang_code → string
├── UpdateLangPack
│ └── difference → LangPackDifference
│ └── LangPackDifference
│ ├── lang_code → string
│ ├── from_version → int
│ ├── version → int
│ └── strings → Vector < LangPackString >
│ ├── LangPackString
│ └── LangPackStringDeleted
│ ├── channel_id → long
│ ├── top_msg_id → int (optional)
│ ├── saved_peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── messages → Vector < int >
│ ├── channel_id → long
│ └── available_min_id → int
│ ├── unread → true (optional)
│ ├── peer → DialogPeer
│ │ ├── DialogPeer
│ │ │ └── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ └── DialogPeerFolder
│ │ └── folder_id → int
│ └── saved_peer_id → Peer (optional)
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
│ ├── peer → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── msg_id → int (optional)
│ ├── top_msg_id → int (optional)
│ ├── poll_id → long
│ ├── poll → Poll (optional)
│ │ └── Poll
│ │ ├── id → long
│ │ ├── closed → true (optional)
│ │ ├── public_voters → true (optional)
│ │ ├── multiple_choice → true (optional)
│ │ ├── quiz → true (optional)
│ │ ├── open_answers → true (optional)
│ │ ├── revoting_disabled → true (optional)
│ │ ├── shuffle_answers → true (optional)
│ │ ├── hide_results_until_close → true (optional)
│ │ ├── creator → true (optional)
│ │ ├── subscribers_only → true (optional)
│ │ ├── question → TextWithEntities
│ │ │ └── TextWithEntities
│ │ ├── answers → Vector < PollAnswer >
│ │ │ ├── PollAnswer
│ │ │ └── InputPollAnswer
│ │ ├── close_period → int (optional)
│ │ ├── close_date → int (optional)
│ │ ├── countries_iso2 → Vector < string > (optional)
│ │ └── hash → long
│ └── results → PollResults
│ └── PollResults
│ ├── min → true (optional)
│ ├── has_unread_votes → true (optional)
│ ├── can_view_stats → true (optional)
│ ├── results → Vector < PollAnswerVoters > (optional)
│ │ └── PollAnswerVoters
│ ├── total_voters → int (optional)
│ ├── recent_voters → Vector < Peer > (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── solution → string (optional)
│ ├── solution_entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ ├── MessageEntityFormattedDate
│ │ ├── MessageEntityDiffInsert
│ │ ├── MessageEntityDiffReplace
│ │ └── MessageEntityDiffDelete
│ └── solution_media → MessageMedia (optional)
│ ├── MessageMediaEmpty
│ ├── MessageMediaPhoto
│ ├── MessageMediaGeo
│ ├── MessageMediaContact
│ ├── MessageMediaDocument
│ ├── MessageMediaWebPage
│ ├── MessageMediaVenue
│ ├── MessageMediaGame
│ ├── MessageMediaInvoice
│ ├── MessageMediaGeoLive
│ ├── MessageMediaPoll
│ ├── MessageMediaDice
│ ├── MessageMediaStory
│ ├── MessageMediaGiveaway
│ ├── MessageMediaPaidMedia
│ ├── MessageMediaToDo
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── default_banned_rights → ChatBannedRights
│ │ └── ChatBannedRights
│ │ ├── view_messages → true (optional)
│ │ ├── send_messages → true (optional)
│ │ ├── send_media → true (optional)
│ │ ├── send_stickers → true (optional)
│ │ ├── send_gifs → true (optional)
│ │ ├── send_games → true (optional)
│ │ ├── send_inline → true (optional)
│ │ ├── embed_links → true (optional)
│ │ ├── send_polls → true (optional)
│ │ ├── change_info → true (optional)
│ │ ├── invite_users → true (optional)
│ │ ├── pin_messages → true (optional)
│ │ ├── manage_topics → true (optional)
│ │ ├── send_photos → true (optional)
│ │ ├── send_videos → true (optional)
│ │ ├── send_roundvideos → true (optional)
│ │ ├── send_audios → true (optional)
│ │ ├── send_voices → true (optional)
│ │ ├── send_docs → true (optional)
│ │ ├── send_plain → true (optional)
│ │ ├── edit_rank → true (optional)
│ │ ├── send_reactions → true (optional)
│ │ └── until_date → int
│ └── version → int
│ ├── folder_peers → Vector < FolderPeer >
│ │ └── FolderPeer
│ │ ├── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ └── folder_id → int
│ ├── pts → int
│ └── pts_count → int
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── settings → PeerSettings
│ └── PeerSettings
│ ├── report_spam → true (optional)
│ ├── add_contact → true (optional)
│ ├── block_contact → true (optional)
│ ├── share_contact → true (optional)
│ ├── need_contacts_exception → true (optional)
│ ├── report_geo → true (optional)
│ ├── autoarchived → true (optional)
│ ├── invite_members → true (optional)
│ ├── request_chat_broadcast → true (optional)
│ ├── business_bot_paused → true (optional)
│ ├── business_bot_can_reply → true (optional)
│ ├── geo_distance → int (optional)
│ ├── request_chat_title → string (optional)
│ ├── request_chat_date → int (optional)
│ ├── business_bot_id → long (optional)
│ ├── business_bot_manage_url → string (optional)
│ ├── charge_paid_message_stars → long (optional)
│ ├── registration_month → string (optional)
│ ├── phone_country → string (optional)
│ ├── name_change_date → int (optional)
│ └── photo_change_date → int (optional)
│ └── peers → Vector < PeerLocated >
│ ├── PeerLocated
│ │ ├── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── expires → int
│ │ └── distance → int
│ └── PeerSelfLocated
│ └── expires → int
│ └── message → Message
│ ├── MessageEmpty
│ │ ├── id → int
│ │ └── peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── Message
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── from_scheduled → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── edit_hide → true (optional)
│ │ ├── pinned → true (optional)
│ │ ├── noforwards → true (optional)
│ │ ├── invert_media → true (optional)
│ │ ├── offline → true (optional)
│ │ ├── video_processing_pending → true (optional)
│ │ ├── paid_suggested_post_stars → true (optional)
│ │ ├── paid_suggested_post_ton → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── from_boosts_applied → int (optional)
│ │ ├── from_rank → string (optional)
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ └── MessageFwdHeader
│ │ ├── via_bot_id → long (optional)
│ │ ├── via_business_bot_id → long (optional)
│ │ ├── guestchat_via_from → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── message → string
│ │ ├── media → MessageMedia (optional)
│ │ │ ├── MessageMediaEmpty
│ │ │ ├── MessageMediaPhoto
│ │ │ ├── MessageMediaGeo
│ │ │ ├── MessageMediaContact
│ │ │ ├── MessageMediaUnsupported
│ │ │ ├── MessageMediaDocument
│ │ │ ├── MessageMediaWebPage
│ │ │ ├── MessageMediaVenue
│ │ │ ├── MessageMediaGame
│ │ │ ├── MessageMediaInvoice
│ │ │ ├── MessageMediaGeoLive
│ │ │ ├── MessageMediaPoll
│ │ │ ├── MessageMediaDice
│ │ │ ├── MessageMediaStory
│ │ │ ├── MessageMediaGiveaway
│ │ │ ├── MessageMediaGiveawayResults
│ │ │ ├── MessageMediaPaidMedia
│ │ │ ├── MessageMediaToDo
│ │ │ └── MessageMediaVideoStream
│ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ ├── 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
│ │ ├── views → int (optional)
│ │ ├── forwards → int (optional)
│ │ ├── replies → MessageReplies (optional)
│ │ │ └── MessageReplies
│ │ ├── edit_date → int (optional)
│ │ ├── post_author → string (optional)
│ │ ├── grouped_id → long (optional)
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ ├── ttl_period → int (optional)
│ │ ├── quick_reply_shortcut_id → int (optional)
│ │ ├── effect → long (optional)
│ │ ├── factcheck → FactCheck (optional)
│ │ │ └── FactCheck
│ │ ├── report_delivery_until_date → int (optional)
│ │ ├── paid_message_stars → long (optional)
│ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ └── SuggestedPost
│ │ ├── schedule_repeat_period → int (optional)
│ │ ├── summary_from_language → string (optional)
│ │ └── rich_message → RichMessage (optional)
│ │ └── RichMessage
│ └── MessageService
│ ├── out → true (optional)
│ ├── mentioned → true (optional)
│ ├── media_unread → true (optional)
│ ├── reactions_are_possible → true (optional)
│ ├── silent → true (optional)
│ ├── post → true (optional)
│ ├── legacy → true (optional)
│ ├── id → int
│ ├── from_id → Peer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── peer_id → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── saved_peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── reply_to → MessageReplyHeader (optional)
│ │ ├── MessageReplyHeader
│ │ └── MessageReplyStoryHeader
│ ├── date → int
│ ├── action → MessageAction
│ │ ├── MessageActionEmpty
│ │ ├── MessageActionChatCreate
│ │ ├── MessageActionChatEditTitle
│ │ ├── MessageActionChatEditPhoto
│ │ ├── MessageActionChatAddUser
│ │ ├── MessageActionChatDeleteUser
│ │ ├── MessageActionChannelCreate
│ │ ├── MessageActionChatMigrateTo
│ │ ├── MessageActionPinMessage
│ │ ├── MessageActionHistoryClear
│ │ ├── MessageActionGameScore
│ │ ├── MessageActionPaymentSentMe
│ │ ├── MessageActionPaymentSent
│ │ ├── MessageActionPhoneCall
│ │ ├── MessageActionCustomAction
│ │ ├── MessageActionBotAllowed
│ │ ├── MessageActionContactSignUp
│ │ ├── MessageActionGroupCall
│ │ ├── MessageActionSetMessagesTTL
│ │ ├── MessageActionSetChatTheme
│ │ ├── MessageActionGiftPremium
│ │ ├── MessageActionTopicCreate
│ │ ├── MessageActionTopicEdit
│ │ ├── MessageActionRequestedPeer
│ │ ├── MessageActionGiftCode
│ │ ├── MessageActionGiveawayLaunch
│ │ ├── MessageActionBoostApply
│ │ ├── MessageActionGiftStars
│ │ ├── MessageActionPrizeStars
│ │ ├── MessageActionStarGift
│ │ ├── MessageActionStarGiftUnique
│ │ ├── MessageActionConferenceCall
│ │ ├── MessageActionGiftTon
│ │ ├── MessageActionChangeCreator
│ ├── reactions → MessageReactions (optional)
│ │ └── MessageReactions
│ └── ttl_period → int (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── messages → Vector < int >
│ └── sent_messages → Vector < int > (optional)
├── UpdateTheme
│ └── theme → Theme
│ └── Theme
│ ├── creator → true (optional)
│ ├── default → true (optional)
│ ├── for_chat → true (optional)
│ ├── id → long
│ ├── access_hash → long
│ ├── slug → string
│ ├── title → string
│ ├── document → Document (optional)
│ │ ├── DocumentEmpty
│ │ └── Document
│ ├── settings → Vector < ThemeSettings > (optional)
│ │ └── ThemeSettings
│ ├── emoticon → string (optional)
│ └── installs_count → int (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── msg_id → int
│ ├── poll_id → long
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── options → Vector < bytes >
│ ├── positions → Vector < int >
│ └── qts → int
│ ├── id → int
│ └── filter → DialogFilter (optional)
│ ├── DialogFilter
│ │ ├── contacts → true (optional)
│ │ ├── non_contacts → true (optional)
│ │ ├── groups → true (optional)
│ │ ├── broadcasts → true (optional)
│ │ ├── bots → true (optional)
│ │ ├── exclude_muted → true (optional)
│ │ ├── exclude_read → true (optional)
│ │ ├── exclude_archived → true (optional)
│ │ ├── title_noanimate → true (optional)
│ │ ├── id → int
│ │ ├── title → TextWithEntities
│ │ │ └── TextWithEntities
│ │ ├── emoticon → string (optional)
│ │ ├── color → int (optional)
│ │ ├── pinned_peers → Vector < InputPeer >
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── include_peers → Vector < InputPeer >
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ └── exclude_peers → Vector < InputPeer >
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── DialogFilterDefault
│ └── DialogFilterChatlist
│ ├── has_my_invites → true (optional)
│ ├── title_noanimate → true (optional)
│ ├── id → int
│ ├── title → TextWithEntities
│ │ └── TextWithEntities
│ ├── emoticon → string (optional)
│ ├── color → int (optional)
│ ├── pinned_peers → Vector < InputPeer >
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ └── include_peers → Vector < InputPeer >
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
│ └── order → Vector < int >
│ ├── 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
│ ├── blocked → true (optional)
│ ├── blocked_my_stories_from → true (optional)
│ └── peer_id → Peer
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
│ ├── channel_id → long
│ ├── top_msg_id → int (optional)
│ ├── from_id → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── action → SendMessageAction
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ └── progress → int
│ │ ├── emoticon → string
│ │ ├── msg_id → int
│ │ └── interaction → DataJSON
│ │ └── DataJSON
│ │ └── emoticon → string
│ │ ├── random_id → long
│ │ └── text → TextWithEntities
│ │ └── TextWithEntities
│ │ ├── random_id → long
│ │ └── rich_message → InputRichMessage
│ │ ├── InputRichMessage
│ │ ├── InputRichMessageHTML
│ │ └── InputRichMessageMarkdown
│ ├── random_id → long
│ └── rich_message → RichMessage
│ └── RichMessage
│ ├── pinned → true (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── messages → Vector < int >
│ ├── pts → int
│ └── pts_count → int
│ ├── pinned → true (optional)
│ ├── channel_id → long
│ ├── messages → Vector < int >
│ ├── pts → int
│ └── pts_count → int
├── UpdateChat
│ └── chat_id → long
│ ├── call → InputGroupCall
│ │ ├── InputGroupCall
│ │ │ ├── id → long
│ │ │ └── access_hash → long
│ │ ├── InputGroupCallSlug
│ │ │ └── slug → string
│ │ └── InputGroupCallInviteMessage
│ │ └── msg_id → int
│ ├── participants → Vector < GroupCallParticipant >
│ │ └── GroupCallParticipant
│ │ ├── muted → true (optional)
│ │ ├── left → true (optional)
│ │ ├── can_self_unmute → true (optional)
│ │ ├── just_joined → true (optional)
│ │ ├── versioned → true (optional)
│ │ ├── min → true (optional)
│ │ ├── muted_by_you → true (optional)
│ │ ├── volume_by_admin → true (optional)
│ │ ├── is_self → true (optional)
│ │ ├── video_joined → true (optional)
│ │ ├── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── date → int
│ │ ├── active_date → int (optional)
│ │ ├── source → int
│ │ ├── volume → int (optional)
│ │ ├── about → string (optional)
│ │ ├── raise_hand_rating → long (optional)
│ │ ├── video → GroupCallParticipantVideo (optional)
│ │ │ └── GroupCallParticipantVideo
│ │ ├── presentation → GroupCallParticipantVideo (optional)
│ │ │ └── GroupCallParticipantVideo
│ │ └── paid_stars_total → long (optional)
│ └── version → int
├── UpdateGroupCall
│ ├── live_story → true (optional)
│ ├── peer → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── call → GroupCall
│ ├── GroupCallDiscarded
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ └── duration → int
│ └── GroupCall
│ ├── join_muted → true (optional)
│ ├── can_change_join_muted → true (optional)
│ ├── join_date_asc → true (optional)
│ ├── schedule_start_subscribed → true (optional)
│ ├── can_start_video → true (optional)
│ ├── record_video_active → true (optional)
│ ├── rtmp_stream → true (optional)
│ ├── listeners_hidden → true (optional)
│ ├── conference → true (optional)
│ ├── creator → true (optional)
│ ├── messages_enabled → true (optional)
│ ├── can_change_messages_enabled → true (optional)
│ ├── min → true (optional)
│ ├── id → long
│ ├── access_hash → long
│ ├── participants_count → int
│ ├── title → string (optional)
│ ├── stream_dc_id → int (optional)
│ ├── record_start_date → int (optional)
│ ├── schedule_date → int (optional)
│ ├── unmuted_video_count → int (optional)
│ ├── unmuted_video_limit → int
│ ├── version → int
│ ├── invite_link → string (optional)
│ ├── send_paid_messages_stars → long (optional)
│ └── default_send_as → Peer (optional)
│ ├── PeerUser
│ ├── PeerChat
│ └── PeerChannel
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── ttl_period → int (optional)
│ ├── chat_id → long
│ ├── date → int
│ ├── actor_id → long
│ ├── user_id → long
│ ├── prev_participant → ChatParticipant (optional)
│ │ ├── ChatParticipant
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ └── rank → string (optional)
│ │ ├── ChatParticipantCreator
│ │ │ ├── user_id → long
│ │ │ └── rank → string (optional)
│ │ └── ChatParticipantAdmin
│ │ ├── user_id → long
│ │ ├── inviter_id → long
│ │ ├── date → int
│ │ └── rank → string (optional)
│ ├── new_participant → ChatParticipant (optional)
│ │ ├── ChatParticipant
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ └── rank → string (optional)
│ │ ├── ChatParticipantCreator
│ │ │ ├── user_id → long
│ │ │ └── rank → string (optional)
│ │ └── ChatParticipantAdmin
│ │ ├── user_id → long
│ │ ├── inviter_id → long
│ │ ├── date → int
│ │ └── rank → string (optional)
│ ├── invite → ExportedChatInvite (optional)
│ │ ├── ChatInviteExported
│ │ │ ├── revoked → true (optional)
│ │ │ ├── permanent → true (optional)
│ │ │ ├── request_needed → true (optional)
│ │ │ ├── link → string
│ │ │ ├── admin_id → long
│ │ │ ├── date → int
│ │ │ ├── start_date → int (optional)
│ │ │ ├── expire_date → int (optional)
│ │ │ ├── usage_limit → int (optional)
│ │ │ ├── usage → int (optional)
│ │ │ ├── requested → int (optional)
│ │ │ ├── subscription_expired → int (optional)
│ │ │ ├── title → string (optional)
│ │ │ └── subscription_pricing → StarsSubscriptionPricing (optional)
│ │ │ └── StarsSubscriptionPricing
│ └── qts → int
│ ├── via_chatlist → true (optional)
│ ├── channel_id → long
│ ├── date → int
│ ├── actor_id → long
│ ├── user_id → long
│ ├── prev_participant → ChannelParticipant (optional)
│ │ ├── ChannelParticipant
│ │ │ ├── user_id → long
│ │ │ ├── date → int
│ │ │ ├── subscription_until_date → int (optional)
│ │ │ └── rank → string (optional)
│ │ ├── ChannelParticipantSelf
│ │ │ ├── via_request → true (optional)
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ ├── subscription_until_date → int (optional)
│ │ │ └── rank → string (optional)
│ │ ├── ChannelParticipantCreator
│ │ │ ├── user_id → long
│ │ │ ├── admin_rights → ChatAdminRights
│ │ │ │ └── ChatAdminRights
│ │ │ └── rank → string (optional)
│ │ ├── ChannelParticipantAdmin
│ │ │ ├── can_edit → true (optional)
│ │ │ ├── is_self → true (optional)
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long (optional)
│ │ │ ├── promoted_by → long
│ │ │ ├── date → int
│ │ │ ├── admin_rights → ChatAdminRights
│ │ │ │ └── ChatAdminRights
│ │ │ └── rank → string (optional)
│ │ ├── ChannelParticipantBanned
│ │ │ ├── left → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── kicked_by → long
│ │ │ ├── date → int
│ │ │ ├── banned_rights → ChatBannedRights
│ │ │ │ └── ChatBannedRights
│ │ │ └── rank → string (optional)
│ │ └── ChannelParticipantLeft
│ │ └── peer → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── new_participant → ChannelParticipant (optional)
│ │ ├── ChannelParticipant
│ │ │ ├── user_id → long
│ │ │ ├── date → int
│ │ │ ├── subscription_until_date → int (optional)
│ │ │ └── rank → string (optional)
│ │ ├── ChannelParticipantSelf
│ │ │ ├── via_request → true (optional)
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ ├── subscription_until_date → int (optional)
│ │ │ └── rank → string (optional)
│ │ ├── ChannelParticipantCreator
│ │ │ ├── user_id → long
│ │ │ ├── admin_rights → ChatAdminRights
│ │ │ │ └── ChatAdminRights
│ │ │ └── rank → string (optional)
│ │ ├── ChannelParticipantAdmin
│ │ │ ├── can_edit → true (optional)
│ │ │ ├── is_self → true (optional)
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long (optional)
│ │ │ ├── promoted_by → long
│ │ │ ├── date → int
│ │ │ ├── admin_rights → ChatAdminRights
│ │ │ │ └── ChatAdminRights
│ │ │ └── rank → string (optional)
│ │ ├── ChannelParticipantBanned
│ │ │ ├── left → true (optional)
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── kicked_by → long
│ │ │ ├── date → int
│ │ │ ├── banned_rights → ChatBannedRights
│ │ │ │ └── ChatBannedRights
│ │ │ └── rank → string (optional)
│ │ └── ChannelParticipantLeft
│ │ └── peer → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── invite → ExportedChatInvite (optional)
│ │ ├── ChatInviteExported
│ │ │ ├── revoked → true (optional)
│ │ │ ├── permanent → true (optional)
│ │ │ ├── request_needed → true (optional)
│ │ │ ├── link → string
│ │ │ ├── admin_id → long
│ │ │ ├── date → int
│ │ │ ├── start_date → int (optional)
│ │ │ ├── expire_date → int (optional)
│ │ │ ├── usage_limit → int (optional)
│ │ │ ├── usage → int (optional)
│ │ │ ├── requested → int (optional)
│ │ │ ├── subscription_expired → int (optional)
│ │ │ ├── title → string (optional)
│ │ │ └── subscription_pricing → StarsSubscriptionPricing (optional)
│ │ │ └── StarsSubscriptionPricing
│ └── qts → int
│ ├── user_id → long
│ ├── date → int
│ ├── stopped → Bool
│ └── qts → int
│ ├── presentation → true (optional)
│ └── params → DataJSON
│ └── DataJSON
│ └── data → string
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── bot_id → long
│ └── commands → Vector < BotCommand >
│ └── BotCommand
│ ├── command → string
│ └── description → string
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── requests_pending → int
│ └── recent_requesters → Vector < long >
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── date → int
│ ├── user_id → long
│ ├── about → string
│ ├── invite → ExportedChatInvite
│ │ ├── ChatInviteExported
│ │ │ ├── revoked → true (optional)
│ │ │ ├── permanent → true (optional)
│ │ │ ├── request_needed → true (optional)
│ │ │ ├── link → string
│ │ │ ├── admin_id → long
│ │ │ ├── date → int
│ │ │ ├── start_date → int (optional)
│ │ │ ├── expire_date → int (optional)
│ │ │ ├── usage_limit → int (optional)
│ │ │ ├── usage → int (optional)
│ │ │ ├── requested → int (optional)
│ │ │ ├── subscription_expired → int (optional)
│ │ │ ├── title → string (optional)
│ │ │ └── subscription_pricing → StarsSubscriptionPricing (optional)
│ │ │ └── StarsSubscriptionPricing
│ ├── qts → int
│ └── query_id → long (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── msg_id → int
│ ├── top_msg_id → int (optional)
│ ├── saved_peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── reactions → MessageReactions
│ └── MessageReactions
│ ├── min → true (optional)
│ ├── can_see_list → true (optional)
│ ├── reactions_as_tags → true (optional)
│ ├── results → Vector < ReactionCount >
│ │ └── ReactionCount
│ ├── recent_reactions → Vector < MessagePeerReaction > (optional)
│ │ └── MessagePeerReaction
│ └── top_reactors → Vector < MessageReactor > (optional)
│ └── MessageReactor
│ └── query_id → long
│ ├── bot_id → long
│ └── button → BotMenuButton
│ ├── BotMenuButtonDefault
│ ├── BotMenuButtonCommands
│ └── BotMenuButton
│ ├── text → string
│ └── url → string
│ ├── pending → true (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── msg_id → int
│ ├── transcription_id → long
│ └── text → string
│ ├── user_id → long
│ └── emoji_status → EmojiStatus
│ ├── EmojiStatusEmpty
│ ├── EmojiStatus
│ │ ├── document_id → long
│ │ └── until → int (optional)
│ │ ├── collectible_id → long
│ │ ├── document_id → long
│ │ ├── title → string
│ │ ├── slug → string
│ │ ├── pattern_document_id → long
│ │ ├── center_color → int
│ │ ├── edge_color → int
│ │ ├── pattern_color → int
│ │ ├── text_color → int
│ │ └── until → int (optional)
│ ├── collectible_id → long
│ └── until → int (optional)
│ ├── masks → true (optional)
│ ├── emojis → true (optional)
│ └── stickerset → long
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── msg_id → int
│ └── extended_media → Vector < MessageExtendedMedia >
│ │ ├── w → int (optional)
│ │ ├── h → int (optional)
│ │ ├── thumb → PhotoSize (optional)
│ │ │ ├── PhotoSizeEmpty
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ └── video_duration → int (optional)
│ └── MessageExtendedMedia
│ └── media → MessageMedia
│ ├── MessageMediaEmpty
│ ├── MessageMediaPhoto
│ ├── MessageMediaGeo
│ ├── MessageMediaContact
│ ├── MessageMediaDocument
│ ├── MessageMediaWebPage
│ ├── MessageMediaVenue
│ ├── MessageMediaGame
│ ├── MessageMediaInvoice
│ ├── MessageMediaGeoLive
│ ├── MessageMediaPoll
│ ├── MessageMediaDice
│ ├── MessageMediaStory
│ ├── MessageMediaGiveaway
│ ├── MessageMediaPaidMedia
│ ├── MessageMediaToDo
├── UpdateUser
│ └── user_id → long
├── UpdateStory
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── story → StoryItem
│ ├── StoryItemDeleted
│ │ └── id → int
│ ├── StoryItemSkipped
│ │ ├── close_friends → true (optional)
│ │ ├── live → true (optional)
│ │ ├── id → int
│ │ ├── date → int
│ │ └── expire_date → int
│ └── StoryItem
│ ├── pinned → true (optional)
│ ├── public → true (optional)
│ ├── close_friends → true (optional)
│ ├── min → true (optional)
│ ├── noforwards → true (optional)
│ ├── edited → true (optional)
│ ├── contacts → true (optional)
│ ├── selected_contacts → true (optional)
│ ├── out → true (optional)
│ ├── id → int
│ ├── date → int
│ ├── from_id → Peer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── fwd_from → StoryFwdHeader (optional)
│ │ └── StoryFwdHeader
│ ├── expire_date → int
│ ├── caption → string (optional)
│ ├── entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ ├── MessageEntityFormattedDate
│ │ ├── MessageEntityDiffInsert
│ │ ├── MessageEntityDiffReplace
│ │ └── MessageEntityDiffDelete
│ ├── media → MessageMedia
│ │ ├── MessageMediaEmpty
│ │ ├── MessageMediaPhoto
│ │ ├── MessageMediaGeo
│ │ ├── MessageMediaContact
│ │ ├── MessageMediaUnsupported
│ │ ├── MessageMediaDocument
│ │ ├── MessageMediaWebPage
│ │ ├── MessageMediaVenue
│ │ ├── MessageMediaGame
│ │ ├── MessageMediaInvoice
│ │ ├── MessageMediaGeoLive
│ │ ├── MessageMediaPoll
│ │ ├── MessageMediaDice
│ │ ├── MessageMediaStory
│ │ ├── MessageMediaGiveaway
│ │ ├── MessageMediaGiveawayResults
│ │ ├── MessageMediaPaidMedia
│ │ ├── MessageMediaToDo
│ │ └── MessageMediaVideoStream
│ ├── media_areas → Vector < MediaArea > (optional)
│ │ ├── MediaAreaVenue
│ │ ├── InputMediaAreaVenue
│ │ ├── MediaAreaGeoPoint
│ │ ├── MediaAreaSuggestedReaction
│ │ ├── MediaAreaChannelPost
│ │ ├── InputMediaAreaChannelPost
│ │ ├── MediaAreaUrl
│ │ ├── MediaAreaWeather
│ │ └── MediaAreaStarGift
│ ├── privacy → Vector < PrivacyRule > (optional)
│ │ ├── PrivacyValueAllowContacts
│ │ ├── PrivacyValueAllowAll
│ │ ├── PrivacyValueAllowUsers
│ │ ├── PrivacyValueDisallowAll
│ │ ├── PrivacyValueDisallowUsers
│ │ ├── PrivacyValueAllowPremium
│ │ ├── PrivacyValueAllowBots
│ │ └── PrivacyValueDisallowBots
│ ├── views → StoryViews (optional)
│ │ └── StoryViews
│ ├── sent_reaction → Reaction (optional)
│ │ ├── ReactionEmpty
│ │ ├── ReactionEmoji
│ │ ├── ReactionCustomEmoji
│ │ └── ReactionPaid
│ ├── albums → Vector < int > (optional)
│ └── music → Document (optional)
│ ├── DocumentEmpty
│ └── Document
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── max_id → int
├── UpdateStoryID
│ ├── id → int
│ └── random_id → long
│ └── stealth_mode → StoriesStealthMode
│ └── StoriesStealthMode
│ ├── active_until_date → int (optional)
│ └── cooldown_until_date → int (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── story_id → int
│ └── reaction → Reaction
│ ├── ReactionEmpty
│ ├── ReactionEmoji
│ │ └── emoticon → string
│ ├── ReactionCustomEmoji
│ │ └── document_id → long
│ └── ReactionPaid
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── boost → Boost
│ │ └── Boost
│ │ ├── gift → true (optional)
│ │ ├── giveaway → true (optional)
│ │ ├── unclaimed → true (optional)
│ │ ├── id → string
│ │ ├── user_id → long (optional)
│ │ ├── giveaway_msg_id → int (optional)
│ │ ├── date → int
│ │ ├── expires → int
│ │ ├── used_gift_slug → string (optional)
│ │ ├── multiplier → int (optional)
│ │ └── stars → long (optional)
│ └── qts → int
│ ├── channel_id → long
│ └── enabled → Bool
│ ├── wallpaper_overridden → true (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── wallpaper → WallPaper (optional)
│ ├── WallPaper
│ │ ├── id → long
│ │ ├── creator → true (optional)
│ │ ├── default → true (optional)
│ │ ├── pattern → true (optional)
│ │ ├── dark → true (optional)
│ │ ├── access_hash → long
│ │ ├── slug → string
│ │ ├── document → Document
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ └── settings → WallPaperSettings (optional)
│ │ └── WallPaperSettings
│ └── WallPaperNoFile
│ ├── id → long
│ ├── default → true (optional)
│ ├── dark → true (optional)
│ └── settings → WallPaperSettings (optional)
│ └── WallPaperSettings
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── msg_id → int
│ ├── date → int
│ ├── actor → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── old_reactions → Vector < Reaction >
│ │ ├── ReactionEmpty
│ │ ├── ReactionEmoji
│ │ │ └── emoticon → string
│ │ ├── ReactionCustomEmoji
│ │ │ └── document_id → long
│ │ └── ReactionPaid
│ ├── new_reactions → Vector < Reaction >
│ │ ├── ReactionEmpty
│ │ ├── ReactionEmoji
│ │ │ └── emoticon → string
│ │ ├── ReactionCustomEmoji
│ │ │ └── document_id → long
│ │ └── ReactionPaid
│ └── qts → int
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── msg_id → int
│ ├── date → int
│ ├── reactions → Vector < ReactionCount >
│ │ └── ReactionCount
│ │ ├── chosen_order → int (optional)
│ │ ├── reaction → Reaction
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ └── count → int
│ └── qts → int
│ ├── pinned → true (optional)
│ └── peer → DialogPeer
│ ├── DialogPeer
│ │ └── peer → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ └── DialogPeerFolder
│ └── folder_id → int
│ └── order → Vector < DialogPeer > (optional)
│ ├── DialogPeer
│ │ └── peer → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ └── DialogPeerFolder
│ └── folder_id → int
├── UpdateSmsJob
│ └── job_id → string
│ └── quick_replies → Vector < QuickReply >
│ └── QuickReply
│ ├── shortcut_id → int
│ ├── shortcut → string
│ ├── top_message → int
│ └── count → int
│ └── quick_reply → QuickReply
│ └── QuickReply
│ ├── shortcut_id → int
│ ├── shortcut → string
│ ├── top_message → int
│ └── count → int
│ └── shortcut_id → int
│ └── message → Message
│ ├── MessageEmpty
│ │ ├── id → int
│ │ └── peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── Message
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── from_scheduled → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── edit_hide → true (optional)
│ │ ├── pinned → true (optional)
│ │ ├── noforwards → true (optional)
│ │ ├── invert_media → true (optional)
│ │ ├── offline → true (optional)
│ │ ├── video_processing_pending → true (optional)
│ │ ├── paid_suggested_post_stars → true (optional)
│ │ ├── paid_suggested_post_ton → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── from_boosts_applied → int (optional)
│ │ ├── from_rank → string (optional)
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ └── MessageFwdHeader
│ │ ├── via_bot_id → long (optional)
│ │ ├── via_business_bot_id → long (optional)
│ │ ├── guestchat_via_from → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── message → string
│ │ ├── media → MessageMedia (optional)
│ │ │ ├── MessageMediaEmpty
│ │ │ ├── MessageMediaPhoto
│ │ │ ├── MessageMediaGeo
│ │ │ ├── MessageMediaContact
│ │ │ ├── MessageMediaUnsupported
│ │ │ ├── MessageMediaDocument
│ │ │ ├── MessageMediaWebPage
│ │ │ ├── MessageMediaVenue
│ │ │ ├── MessageMediaGame
│ │ │ ├── MessageMediaInvoice
│ │ │ ├── MessageMediaGeoLive
│ │ │ ├── MessageMediaPoll
│ │ │ ├── MessageMediaDice
│ │ │ ├── MessageMediaStory
│ │ │ ├── MessageMediaGiveaway
│ │ │ ├── MessageMediaGiveawayResults
│ │ │ ├── MessageMediaPaidMedia
│ │ │ ├── MessageMediaToDo
│ │ │ └── MessageMediaVideoStream
│ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ ├── 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
│ │ ├── views → int (optional)
│ │ ├── forwards → int (optional)
│ │ ├── replies → MessageReplies (optional)
│ │ │ └── MessageReplies
│ │ ├── edit_date → int (optional)
│ │ ├── post_author → string (optional)
│ │ ├── grouped_id → long (optional)
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ ├── ttl_period → int (optional)
│ │ ├── quick_reply_shortcut_id → int (optional)
│ │ ├── effect → long (optional)
│ │ ├── factcheck → FactCheck (optional)
│ │ │ └── FactCheck
│ │ ├── report_delivery_until_date → int (optional)
│ │ ├── paid_message_stars → long (optional)
│ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ └── SuggestedPost
│ │ ├── schedule_repeat_period → int (optional)
│ │ ├── summary_from_language → string (optional)
│ │ └── rich_message → RichMessage (optional)
│ │ └── RichMessage
│ └── MessageService
│ ├── out → true (optional)
│ ├── mentioned → true (optional)
│ ├── media_unread → true (optional)
│ ├── reactions_are_possible → true (optional)
│ ├── silent → true (optional)
│ ├── post → true (optional)
│ ├── legacy → true (optional)
│ ├── id → int
│ ├── from_id → Peer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── peer_id → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── saved_peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── reply_to → MessageReplyHeader (optional)
│ │ ├── MessageReplyHeader
│ │ └── MessageReplyStoryHeader
│ ├── date → int
│ ├── action → MessageAction
│ │ ├── MessageActionEmpty
│ │ ├── MessageActionChatCreate
│ │ ├── MessageActionChatEditTitle
│ │ ├── MessageActionChatEditPhoto
│ │ ├── MessageActionChatAddUser
│ │ ├── MessageActionChatDeleteUser
│ │ ├── MessageActionChannelCreate
│ │ ├── MessageActionChatMigrateTo
│ │ ├── MessageActionPinMessage
│ │ ├── MessageActionHistoryClear
│ │ ├── MessageActionGameScore
│ │ ├── MessageActionPaymentSentMe
│ │ ├── MessageActionPaymentSent
│ │ ├── MessageActionPhoneCall
│ │ ├── MessageActionCustomAction
│ │ ├── MessageActionBotAllowed
│ │ ├── MessageActionContactSignUp
│ │ ├── MessageActionGroupCall
│ │ ├── MessageActionSetMessagesTTL
│ │ ├── MessageActionSetChatTheme
│ │ ├── MessageActionGiftPremium
│ │ ├── MessageActionTopicCreate
│ │ ├── MessageActionTopicEdit
│ │ ├── MessageActionRequestedPeer
│ │ ├── MessageActionGiftCode
│ │ ├── MessageActionGiveawayLaunch
│ │ ├── MessageActionBoostApply
│ │ ├── MessageActionGiftStars
│ │ ├── MessageActionPrizeStars
│ │ ├── MessageActionStarGift
│ │ ├── MessageActionStarGiftUnique
│ │ ├── MessageActionConferenceCall
│ │ ├── MessageActionGiftTon
│ │ ├── MessageActionChangeCreator
│ ├── reactions → MessageReactions (optional)
│ │ └── MessageReactions
│ └── ttl_period → int (optional)
│ ├── shortcut_id → int
│ └── messages → Vector < int >
│ ├── connection → BotBusinessConnection
│ │ └── BotBusinessConnection
│ │ ├── disabled → true (optional)
│ │ ├── connection_id → string
│ │ ├── user_id → long
│ │ ├── dc_id → int
│ │ ├── date → int
│ │ └── rights → BusinessBotRights (optional)
│ │ └── BusinessBotRights
│ └── qts → int
│ ├── connection_id → string
│ ├── message → Message
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── reply_to_message → Message (optional)
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ └── qts → int
│ ├── connection_id → string
│ ├── message → Message
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── reply_to_message → Message (optional)
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ └── qts → int
│ ├── connection_id → string
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── messages → Vector < int >
│ └── qts → int
│ ├── story_id → int
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── reaction → Reaction
│ ├── ReactionEmpty
│ ├── ReactionEmoji
│ │ └── emoticon → string
│ ├── ReactionCustomEmoji
│ │ └── document_id → long
│ └── ReactionPaid
│ └── balance → StarsAmount
│ ├── StarsAmount
│ │ ├── amount → long
│ │ └── nanos → int
│ └── StarsTonAmount
│ └── amount → long
│ ├── query_id → long
│ ├── user_id → long
│ ├── connection_id → string
│ ├── message → Message
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── reply_to_message → Message (optional)
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── chat_instance → long
│ └── data → bytes (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── status → StarsRevenueStatus
│ └── StarsRevenueStatus
│ ├── withdrawal_enabled → true (optional)
│ ├── current_balance → StarsAmount
│ │ ├── StarsAmount
│ │ └── StarsTonAmount
│ ├── available_balance → StarsAmount
│ │ ├── StarsAmount
│ │ └── StarsTonAmount
│ ├── overall_revenue → StarsAmount
│ │ ├── StarsAmount
│ │ └── StarsTonAmount
│ └── next_withdrawal_at → int (optional)
│ ├── user_id → long
│ ├── payload → string
│ └── qts → int
│ └── private → PaidReactionPrivacy
│ └── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
│ └── sent_code → auth.SentCode
│ ├── auth.SentCode
│ │ ├── type → auth.SentCodeType
│ │ │ ├── auth.SentCodeTypeApp
│ │ │ ├── auth.SentCodeTypeSms
│ │ │ ├── auth.SentCodeTypeCall
│ │ │ ├── auth.SentCodeTypeFlashCall
│ │ │ ├── auth.SentCodeTypeMissedCall
│ │ │ ├── auth.SentCodeTypeEmailCode
│ │ │ ├── auth.SentCodeTypeFragmentSms
│ │ │ ├── auth.SentCodeTypeFirebaseSms
│ │ │ ├── auth.SentCodeTypeSmsWord
│ │ │ └── auth.SentCodeTypeSmsPhrase
│ │ ├── phone_code_hash → string
│ │ ├── next_type → auth.CodeType (optional)
│ │ │ ├── auth.CodeTypeSms
│ │ │ ├── auth.CodeTypeCall
│ │ │ ├── auth.CodeTypeFlashCall
│ │ │ ├── auth.CodeTypeMissedCall
│ │ │ └── auth.CodeTypeFragmentSms
│ │ └── timeout → int (optional)
│ ├── auth.SentCodeSuccess
│ │ └── authorization → auth.Authorization
│ │ ├── auth.Authorization
│ ├── store_product → string
│ ├── phone_code_hash → string
│ ├── support_email_address → string
│ ├── support_email_subject → string
│ ├── premium_days → int
│ ├── currency → string
│ └── amount → long
│ ├── call → InputGroupCall
│ │ ├── InputGroupCall
│ │ │ ├── id → long
│ │ │ └── access_hash → long
│ │ ├── InputGroupCallSlug
│ │ │ └── slug → string
│ │ └── InputGroupCallInviteMessage
│ │ └── msg_id → int
│ ├── sub_chain_id → int
│ ├── blocks → Vector < bytes >
│ └── next_offset → int
│ ├── channel_id → long
│ ├── saved_peer_id → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── read_max_id → int
│ ├── channel_id → long
│ ├── saved_peer_id → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── read_max_id → int
│ ├── exception → true (optional)
│ ├── channel_id → long
│ └── saved_peer_id → Peer
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
│ ├── call → InputGroupCall
│ │ ├── InputGroupCall
│ │ │ ├── id → long
│ │ │ └── access_hash → long
│ │ ├── InputGroupCallSlug
│ │ │ └── slug → string
│ │ └── InputGroupCallInviteMessage
│ │ └── msg_id → int
│ └── message → GroupCallMessage
│ └── GroupCallMessage
│ ├── from_admin → true (optional)
│ ├── id → int
│ ├── from_id → Peer
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── date → int
│ ├── message → TextWithEntities
│ │ └── TextWithEntities
│ └── paid_message_stars → long (optional)
│ ├── call → InputGroupCall
│ │ ├── InputGroupCall
│ │ │ ├── id → long
│ │ │ └── access_hash → long
│ │ ├── InputGroupCallSlug
│ │ │ └── slug → string
│ │ └── InputGroupCallInviteMessage
│ │ └── msg_id → int
│ ├── from_id → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── encrypted_message → bytes
│ ├── pinned → true (optional)
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── topic_id → int
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ └── order → Vector < int > (optional)
│ ├── call → InputGroupCall
│ │ ├── InputGroupCall
│ │ │ ├── id → long
│ │ │ └── access_hash → long
│ │ ├── InputGroupCallSlug
│ │ │ └── slug → string
│ │ └── InputGroupCallInviteMessage
│ │ └── msg_id → int
│ └── messages → Vector < int >
│ ├── gift_id → long
│ └── state → StarGiftAuctionState
│ ├── StarGiftAuctionState
│ │ ├── version → int
│ │ ├── start_date → int
│ │ ├── end_date → int
│ │ ├── min_bid_amount → long
│ │ ├── bid_levels → Vector < AuctionBidLevel >
│ │ │ └── AuctionBidLevel
│ │ ├── top_bidders → Vector < long >
│ │ ├── next_round_at → int
│ │ ├── last_gift_num → int
│ │ ├── gifts_left → int
│ │ ├── current_round → int
│ │ ├── total_rounds → int
│ │ └── rounds → Vector < StarGiftAuctionRound >
│ │ ├── StarGiftAuctionRound
│ ├── start_date → int
│ ├── end_date → int
│ ├── average_price → long
│ ├── listed_count → int (optional)
│ ├── fragment_listed_count → int (optional)
│ └── fragment_listed_url → string (optional)
│ ├── gift_id → long
│ └── user_state → StarGiftAuctionUserState
│ ├── returned → true (optional)
│ ├── bid_amount → long (optional)
│ ├── bid_date → int (optional)
│ ├── min_bid_amount → long (optional)
│ ├── bid_peer → Peer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ └── acquired_count → int
│ └── info → messages.EmojiGameInfo
│ ├── game_hash → string
│ ├── prev_stake → long
│ ├── current_streak → int
│ ├── params → Vector < int >
│ └── plays_left → int (optional)
│ ├── chat_id → long
│ ├── user_id → long
│ ├── rank → string
│ └── version → int
│ ├── user_id → long
│ ├── bot_id → long
│ └── qts → int
│ ├── query_id → long
│ ├── message → Message
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ ├── reference_messages → Vector < Message > (optional)
│ │ ├── MessageEmpty
│ │ │ ├── id → int
│ │ │ └── peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── Message
│ │ │ ├── out → true (optional)
│ │ │ ├── mentioned → true (optional)
│ │ │ ├── media_unread → true (optional)
│ │ │ ├── silent → true (optional)
│ │ │ ├── post → true (optional)
│ │ │ ├── from_scheduled → true (optional)
│ │ │ ├── legacy → true (optional)
│ │ │ ├── edit_hide → true (optional)
│ │ │ ├── pinned → true (optional)
│ │ │ ├── noforwards → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── offline → true (optional)
│ │ │ ├── video_processing_pending → true (optional)
│ │ │ ├── paid_suggested_post_stars → true (optional)
│ │ │ ├── paid_suggested_post_ton → true (optional)
│ │ │ ├── id → int
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_boosts_applied → int (optional)
│ │ │ ├── from_rank → string (optional)
│ │ │ ├── peer_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── via_bot_id → long (optional)
│ │ │ ├── via_business_bot_id → long (optional)
│ │ │ ├── guestchat_via_from → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ │ ├── MessageReplyHeader
│ │ │ │ └── MessageReplyStoryHeader
│ │ │ ├── date → int
│ │ │ ├── message → string
│ │ │ ├── media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ │ ├── ReplyKeyboardHide
│ │ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ ├── views → int (optional)
│ │ │ ├── forwards → int (optional)
│ │ │ ├── replies → MessageReplies (optional)
│ │ │ │ └── MessageReplies
│ │ │ ├── edit_date → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── grouped_id → long (optional)
│ │ │ ├── reactions → MessageReactions (optional)
│ │ │ │ └── MessageReactions
│ │ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ │ └── RestrictionReason
│ │ │ ├── ttl_period → int (optional)
│ │ │ ├── quick_reply_shortcut_id → int (optional)
│ │ │ ├── effect → long (optional)
│ │ │ ├── factcheck → FactCheck (optional)
│ │ │ │ └── FactCheck
│ │ │ ├── report_delivery_until_date → int (optional)
│ │ │ ├── paid_message_stars → long (optional)
│ │ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ │ └── SuggestedPost
│ │ │ ├── schedule_repeat_period → int (optional)
│ │ │ ├── summary_from_language → string (optional)
│ │ │ └── rich_message → RichMessage (optional)
│ │ │ └── RichMessage
│ │ └── MessageService
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── reactions_are_possible → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ └── MessageReplyStoryHeader
│ │ ├── date → int
│ │ ├── action → MessageAction
│ │ │ ├── MessageActionEmpty
│ │ │ ├── MessageActionChatCreate
│ │ │ ├── MessageActionChatEditTitle
│ │ │ ├── MessageActionChatEditPhoto
│ │ │ ├── MessageActionChatDeletePhoto
│ │ │ ├── MessageActionChatAddUser
│ │ │ ├── MessageActionChatDeleteUser
│ │ │ ├── MessageActionChatJoinedByLink
│ │ │ ├── MessageActionChannelCreate
│ │ │ ├── MessageActionChatMigrateTo
│ │ │ ├── MessageActionChannelMigrateFrom
│ │ │ ├── MessageActionPinMessage
│ │ │ ├── MessageActionHistoryClear
│ │ │ ├── MessageActionGameScore
│ │ │ ├── MessageActionPaymentSentMe
│ │ │ ├── MessageActionPaymentSent
│ │ │ ├── MessageActionPhoneCall
│ │ │ ├── MessageActionScreenshotTaken
│ │ │ ├── MessageActionCustomAction
│ │ │ ├── MessageActionBotAllowed
│ │ │ ├── MessageActionSecureValuesSentMe
│ │ │ ├── MessageActionSecureValuesSent
│ │ │ ├── MessageActionContactSignUp
│ │ │ ├── MessageActionGeoProximityReached
│ │ │ ├── MessageActionGroupCall
│ │ │ ├── MessageActionInviteToGroupCall
│ │ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── MessageActionGroupCallScheduled
│ │ │ ├── MessageActionSetChatTheme
│ │ │ ├── MessageActionChatJoinedByRequest
│ │ │ ├── MessageActionWebViewDataSentMe
│ │ │ ├── MessageActionWebViewDataSent
│ │ │ ├── MessageActionGiftPremium
│ │ │ ├── MessageActionTopicCreate
│ │ │ ├── MessageActionTopicEdit
│ │ │ ├── MessageActionSuggestProfilePhoto
│ │ │ ├── MessageActionRequestedPeer
│ │ │ ├── MessageActionSetChatWallPaper
│ │ │ ├── MessageActionGiftCode
│ │ │ ├── MessageActionGiveawayLaunch
│ │ │ ├── MessageActionGiveawayResults
│ │ │ ├── MessageActionBoostApply
│ │ │ ├── MessageActionRequestedPeerSentMe
│ │ │ ├── MessageActionPaymentRefunded
│ │ │ ├── MessageActionGiftStars
│ │ │ ├── MessageActionPrizeStars
│ │ │ ├── MessageActionStarGift
│ │ │ ├── MessageActionStarGiftUnique
│ │ │ ├── MessageActionPaidMessagesRefunded
│ │ │ ├── MessageActionPaidMessagesPrice
│ │ │ ├── MessageActionConferenceCall
│ │ │ ├── MessageActionTodoCompletions
│ │ │ ├── MessageActionTodoAppendTasks
│ │ │ ├── MessageActionSuggestedPostSuccess
│ │ │ ├── MessageActionSuggestedPostRefund
│ │ │ ├── MessageActionGiftTon
│ │ │ ├── MessageActionSuggestBirthday
│ │ │ ├── MessageActionNewCreatorPending
│ │ │ ├── MessageActionChangeCreator
│ │ │ ├── MessageActionNoForwardsToggle
│ │ │ ├── MessageActionNoForwardsRequest
│ │ │ ├── MessageActionPollAppendAnswer
│ │ │ ├── MessageActionPollDeleteAnswer
│ │ │ └── MessageActionManagedBotCreated
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ └── ttl_period → int (optional)
│ └── qts → int
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── query_id → long
│ └── result → JoinChatBotResult
│ └── url → string
│ ├── confirmed → true (optional)
│ ├── bot_id → long
│ ├── date → int (optional)
│ ├── device → string (optional)
│ └── location → string (optional)
│ ├── open_external_browser → true (optional)
│ └── display_close_button → true (optional)
├── delete → true (optional)
├── open_external_browser → Bool (optional)
└── exception → WebDomainException
├── domain → string
├── url → string
├── title → string
└── favicon → long (optional)

Example