messages.SaveDraft

class pyrogram.raw.functions.messages.SaveDraft

Save a message draft associated to a chat.

Details:
  • Layer: 227

  • ID: AD0FA15C

Parameters:
  • peer (InputPeer) – Destination of the message that should be sent

  • message (str) – The draft

  • no_webpage (bool, optional) – Disable generation of the webpage preview

  • invert_media (bool, optional) – If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.

  • reply_to (InputReplyTo, optional) – If set, indicates that the message should be sent in reply to the specified message or story.

  • entities (List of MessageEntity, optional) – Message entities for styled text

  • media (InputMedia, optional) – Attached media

  • effect (int 64-bit, optional) – Specifies a message effect » to use for the message.

  • suggested_post (SuggestedPost, optional) – Used to suggest a post to a channel, see here » for more info on the full flow.

  • rich_message (InputRichMessage, optional) – N/A

Returns:

bool

TL Schema

messages.saveDraft#ad0fa15c
flags:#
no_webpage:flags.1?true
invert_media:flags.6?true
reply_to:flags.4?InputReplyTo
peer:InputPeer
message:string
entities:flags.3?Vector<MessageEntity>
media:flags.5?InputMedia
effect:flags.7?long
suggested_post:flags.8?SuggestedPost
rich_message:flags.9?InputRichMessage

= Bool

Parameter Tree

SaveDraft
├── no_webpage → true (optional)
├── invert_media → true (optional)
├── reply_to → InputReplyTo (optional)
│ ├── InputReplyToMessage
│ │ ├── reply_to_msg_id → int
│ │ ├── top_msg_id → int (optional)
│ │ ├── reply_to_peer_id → InputPeer (optional)
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── quote_text → string (optional)
│ │ ├── quote_entities → Vector < MessageEntity > (optional)
│ │ │ ├── MessageEntityUnknown
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityMention
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityHashtag
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBotCommand
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityUrl
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityEmail
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBold
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityItalic
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCode
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityPre
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── language → string
│ │ │ ├── MessageEntityTextUrl
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── url → string
│ │ │ ├── MessageEntityMentionName
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── user_id → long
│ │ │ ├── InputMessageEntityMentionName
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── user_id → InputUser
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── MessageEntityPhone
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCashtag
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityUnderline
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityStrike
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBankCard
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntitySpoiler
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── document_id → long
│ │ │ ├── MessageEntityBlockquote
│ │ │ │ ├── collapsed → true (optional)
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityFormattedDate
│ │ │ │ ├── relative → true (optional)
│ │ │ │ ├── short_time → true (optional)
│ │ │ │ ├── long_time → true (optional)
│ │ │ │ ├── short_date → true (optional)
│ │ │ │ ├── long_date → true (optional)
│ │ │ │ ├── day_of_week → true (optional)
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── date → int
│ │ │ ├── MessageEntityDiffInsert
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityDiffReplace
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── old_text → string
│ │ │ └── MessageEntityDiffDelete
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── quote_offset → int (optional)
│ │ ├── monoforum_peer_id → InputPeer (optional)
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── todo_item_id → int (optional)
│ │ └── poll_option → bytes (optional)
│ ├── InputReplyToStory
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ └── story_id → int
│ └── InputReplyToMonoForum
│ └── monoforum_peer_id → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
├── message → string
├── entities → Vector < MessageEntity > (optional)
│ ├── MessageEntityUnknown
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityMention
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityHashtag
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityUrl
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityEmail
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityBold
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityItalic
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityCode
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityPre
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── language → string
│ ├── MessageEntityTextUrl
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── url → string
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── user_id → long
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── user_id → InputUser
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── MessageEntityPhone
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityCashtag
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityStrike
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntityBankCard
│ │ ├── offset → int
│ │ └── length → int
│ ├── MessageEntitySpoiler
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── document_id → long
│ │ ├── collapsed → true (optional)
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── relative → true (optional)
│ │ ├── short_time → true (optional)
│ │ ├── long_time → true (optional)
│ │ ├── short_date → true (optional)
│ │ ├── long_date → true (optional)
│ │ ├── day_of_week → true (optional)
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── date → int
│ │ ├── offset → int
│ │ └── length → int
│ │ ├── offset → int
│ │ ├── length → int
│ │ └── old_text → string
│ ├── offset → int
│ └── length → int
├── media → InputMedia (optional)
│ ├── InputMediaEmpty
│ │ ├── spoiler → true (optional)
│ │ ├── live_photo → true (optional)
│ │ ├── file → InputFile
│ │ │ ├── InputFile
│ │ │ ├── InputFileBig
│ │ │ └── InputFileStoryDocument
│ │ ├── stickers → Vector < InputDocument > (optional)
│ │ │ ├── InputDocumentEmpty
│ │ │ └── InputDocument
│ │ │ ├── id → long
│ │ │ ├── access_hash → long
│ │ │ └── file_reference → bytes
│ │ ├── ttl_seconds → int (optional)
│ │ └── video → InputDocument (optional)
│ │ ├── InputDocumentEmpty
│ │ └── InputDocument
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ └── file_reference → bytes
│ ├── InputMediaPhoto
│ │ ├── spoiler → true (optional)
│ │ ├── live_photo → true (optional)
│ │ ├── id → InputPhoto
│ │ │ ├── InputPhotoEmpty
│ │ │ └── InputPhoto
│ │ │ ├── id → long
│ │ │ ├── access_hash → long
│ │ │ └── file_reference → bytes
│ │ ├── ttl_seconds → int (optional)
│ │ └── video → InputDocument (optional)
│ │ ├── InputDocumentEmpty
│ │ └── InputDocument
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ └── file_reference → bytes
│ ├── InputMediaGeoPoint
│ │ └── geo_point → InputGeoPoint
│ │ ├── InputGeoPointEmpty
│ │ └── InputGeoPoint
│ │ ├── lat → double
│ │ ├── long → double
│ │ └── accuracy_radius → int (optional)
│ ├── InputMediaContact
│ │ ├── phone_number → string
│ │ ├── first_name → string
│ │ ├── last_name → string
│ │ └── vcard → string
│ │ ├── nosound_video → true (optional)
│ │ ├── force_file → true (optional)
│ │ ├── spoiler → true (optional)
│ │ ├── file → InputFile
│ │ │ ├── InputFile
│ │ │ ├── InputFileBig
│ │ │ └── InputFileStoryDocument
│ │ ├── thumb → InputFile (optional)
│ │ │ ├── InputFile
│ │ │ ├── InputFileBig
│ │ │ └── InputFileStoryDocument
│ │ ├── mime_type → string
│ │ ├── attributes → Vector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ │ ├── w → int
│ │ │ │ └── h → int
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ │ ├── mask → true (optional)
│ │ │ │ ├── alt → string
│ │ │ │ ├── stickerset → InputStickerSet
│ │ │ │ │ ├── InputStickerSetEmpty
│ │ │ │ │ ├── InputStickerSetID
│ │ │ │ │ ├── InputStickerSetShortName
│ │ │ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ │ │ ├── InputStickerSetDice
│ │ │ │ │ ├── InputStickerSetAnimatedEmojiAnimations
│ │ │ │ │ ├── InputStickerSetPremiumGifts
│ │ │ │ │ ├── InputStickerSetEmojiGenericAnimations
│ │ │ │ │ ├── InputStickerSetEmojiDefaultStatuses
│ │ │ │ │ ├── InputStickerSetEmojiDefaultTopicIcons
│ │ │ │ │ ├── InputStickerSetEmojiChannelDefaultStatuses
│ │ │ │ │ └── InputStickerSetTonGifts
│ │ │ │ └── mask_coords → MaskCoords (optional)
│ │ │ │ └── MaskCoords
│ │ │ ├── DocumentAttributeVideo
│ │ │ │ ├── round_message → true (optional)
│ │ │ │ ├── supports_streaming → true (optional)
│ │ │ │ ├── nosound → true (optional)
│ │ │ │ ├── duration → double
│ │ │ │ ├── w → int
│ │ │ │ ├── h → int
│ │ │ │ ├── preload_prefix_size → int (optional)
│ │ │ │ ├── video_start_ts → double (optional)
│ │ │ │ └── video_codec → string (optional)
│ │ │ ├── DocumentAttributeAudio
│ │ │ │ ├── voice → true (optional)
│ │ │ │ ├── duration → int
│ │ │ │ ├── title → string (optional)
│ │ │ │ ├── performer → string (optional)
│ │ │ │ └── waveform → bytes (optional)
│ │ │ ├── DocumentAttributeFilename
│ │ │ │ └── file_name → string
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ │ ├── free → true (optional)
│ │ │ ├── text_color → true (optional)
│ │ │ ├── alt → string
│ │ │ └── stickerset → InputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ ├── stickers → Vector < InputDocument > (optional)
│ │ │ ├── InputDocumentEmpty
│ │ │ └── InputDocument
│ │ │ ├── id → long
│ │ │ ├── access_hash → long
│ │ │ └── file_reference → bytes
│ │ ├── video_cover → InputPhoto (optional)
│ │ │ ├── InputPhotoEmpty
│ │ │ └── InputPhoto
│ │ │ ├── id → long
│ │ │ ├── access_hash → long
│ │ │ └── file_reference → bytes
│ │ ├── video_timestamp → int (optional)
│ │ └── ttl_seconds → int (optional)
│ ├── InputMediaDocument
│ │ ├── spoiler → true (optional)
│ │ ├── id → InputDocument
│ │ │ ├── InputDocumentEmpty
│ │ │ └── InputDocument
│ │ │ ├── id → long
│ │ │ ├── access_hash → long
│ │ │ └── file_reference → bytes
│ │ ├── video_cover → InputPhoto (optional)
│ │ │ ├── InputPhotoEmpty
│ │ │ └── InputPhoto
│ │ │ ├── id → long
│ │ │ ├── access_hash → long
│ │ │ └── file_reference → bytes
│ │ ├── video_timestamp → int (optional)
│ │ ├── ttl_seconds → int (optional)
│ │ └── query → string (optional)
│ ├── InputMediaVenue
│ │ ├── geo_point → InputGeoPoint
│ │ │ ├── InputGeoPointEmpty
│ │ │ └── InputGeoPoint
│ │ │ ├── lat → double
│ │ │ ├── long → double
│ │ │ └── accuracy_radius → int (optional)
│ │ ├── title → string
│ │ ├── address → string
│ │ ├── provider → string
│ │ ├── venue_id → string
│ │ └── venue_type → string
│ │ ├── spoiler → true (optional)
│ │ ├── url → string
│ │ └── ttl_seconds → int (optional)
│ │ ├── spoiler → true (optional)
│ │ ├── url → string
│ │ ├── ttl_seconds → int (optional)
│ │ ├── video_cover → InputPhoto (optional)
│ │ │ ├── InputPhotoEmpty
│ │ │ └── InputPhoto
│ │ │ ├── id → long
│ │ │ ├── access_hash → long
│ │ │ └── file_reference → bytes
│ │ └── video_timestamp → int (optional)
│ ├── InputMediaGame
│ │ └── id → InputGame
│ │ ├── InputGameID
│ │ │ ├── id → long
│ │ │ └── access_hash → long
│ │ └── InputGameShortName
│ │ ├── bot_id → InputUser
│ │ │ ├── InputUserEmpty
│ │ │ ├── InputUserSelf
│ │ │ ├── InputUser
│ │ │ └── InputUserFromMessage
│ │ └── short_name → string
│ ├── InputMediaInvoice
│ │ ├── title → string
│ │ ├── description → string
│ │ ├── photo → InputWebDocument (optional)
│ │ │ └── InputWebDocument
│ │ │ ├── url → string
│ │ │ ├── size → int
│ │ │ ├── mime_type → string
│ │ │ └── attributes → Vector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ ├── DocumentAttributeVideo
│ │ │ ├── DocumentAttributeAudio
│ │ │ ├── DocumentAttributeFilename
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ ├── invoice → Invoice
│ │ │ └── Invoice
│ │ │ ├── test → true (optional)
│ │ │ ├── name_requested → true (optional)
│ │ │ ├── phone_requested → true (optional)
│ │ │ ├── email_requested → true (optional)
│ │ │ ├── shipping_address_requested → true (optional)
│ │ │ ├── flexible → true (optional)
│ │ │ ├── phone_to_provider → true (optional)
│ │ │ ├── email_to_provider → true (optional)
│ │ │ ├── recurring → true (optional)
│ │ │ ├── currency → string
│ │ │ ├── prices → Vector < LabeledPrice >
│ │ │ │ └── LabeledPrice
│ │ │ ├── max_tip_amount → long (optional)
│ │ │ ├── suggested_tip_amounts → Vector < long > (optional)
│ │ │ ├── terms_url → string (optional)
│ │ │ └── subscription_period → int (optional)
│ │ ├── payload → bytes
│ │ ├── provider → string (optional)
│ │ ├── provider_data → DataJSON
│ │ │ └── DataJSON
│ │ │ └── data → string
│ │ ├── start_param → string (optional)
│ │ └── extended_media → InputMedia (optional)
│ │ ├── InputMediaEmpty
│ │ ├── InputMediaUploadedPhoto
│ │ ├── InputMediaPhoto
│ │ ├── InputMediaGeoPoint
│ │ ├── InputMediaContact
│ │ ├── InputMediaUploadedDocument
│ │ ├── InputMediaDocument
│ │ ├── InputMediaVenue
│ │ ├── InputMediaPhotoExternal
│ │ ├── InputMediaDocumentExternal
│ │ ├── InputMediaGame
│ │ ├── InputMediaInvoice
│ │ ├── InputMediaGeoLive
│ │ ├── InputMediaPoll
│ │ ├── InputMediaDice
│ │ ├── InputMediaStory
│ │ ├── InputMediaWebPage
│ │ ├── InputMediaPaidMedia
│ │ ├── InputMediaTodo
│ │ └── InputMediaStakeDice
│ ├── InputMediaGeoLive
│ │ ├── stopped → true (optional)
│ │ ├── geo_point → InputGeoPoint
│ │ │ ├── InputGeoPointEmpty
│ │ │ └── InputGeoPoint
│ │ │ ├── lat → double
│ │ │ ├── long → double
│ │ │ └── accuracy_radius → int (optional)
│ │ ├── heading → int (optional)
│ │ ├── period → int (optional)
│ │ └── proximity_notification_radius → int (optional)
│ ├── InputMediaPoll
│ │ ├── poll → Poll
│ │ │ └── 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
│ │ ├── correct_answers → Vector < int > (optional)
│ │ ├── attached_media → InputMedia (optional)
│ │ │ ├── InputMediaEmpty
│ │ │ ├── InputMediaUploadedPhoto
│ │ │ ├── InputMediaPhoto
│ │ │ ├── InputMediaGeoPoint
│ │ │ ├── InputMediaContact
│ │ │ ├── InputMediaUploadedDocument
│ │ │ ├── InputMediaDocument
│ │ │ ├── InputMediaVenue
│ │ │ ├── InputMediaPhotoExternal
│ │ │ ├── InputMediaDocumentExternal
│ │ │ ├── InputMediaGame
│ │ │ ├── InputMediaInvoice
│ │ │ ├── InputMediaGeoLive
│ │ │ ├── InputMediaPoll
│ │ │ ├── InputMediaDice
│ │ │ ├── InputMediaStory
│ │ │ ├── InputMediaWebPage
│ │ │ ├── InputMediaPaidMedia
│ │ │ ├── InputMediaTodo
│ │ │ └── InputMediaStakeDice
│ │ ├── solution → string (optional)
│ │ ├── solution_entities → Vector < MessageEntity > (optional)
│ │ │ ├── MessageEntityUnknown
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityMention
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityHashtag
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBotCommand
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityUrl
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityEmail
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBold
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityItalic
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCode
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityPre
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── language → string
│ │ │ ├── MessageEntityTextUrl
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── url → string
│ │ │ ├── MessageEntityMentionName
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── user_id → long
│ │ │ ├── InputMessageEntityMentionName
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── user_id → InputUser
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── MessageEntityPhone
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCashtag
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityUnderline
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityStrike
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBankCard
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntitySpoiler
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── document_id → long
│ │ │ ├── MessageEntityBlockquote
│ │ │ │ ├── collapsed → true (optional)
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityFormattedDate
│ │ │ │ ├── relative → true (optional)
│ │ │ │ ├── short_time → true (optional)
│ │ │ │ ├── long_time → true (optional)
│ │ │ │ ├── short_date → true (optional)
│ │ │ │ ├── long_date → true (optional)
│ │ │ │ ├── day_of_week → true (optional)
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── date → int
│ │ │ ├── MessageEntityDiffInsert
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityDiffReplace
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── old_text → string
│ │ │ └── MessageEntityDiffDelete
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ └── solution_media → InputMedia (optional)
│ │ ├── InputMediaEmpty
│ │ ├── InputMediaUploadedPhoto
│ │ ├── InputMediaPhoto
│ │ ├── InputMediaGeoPoint
│ │ ├── InputMediaContact
│ │ ├── InputMediaUploadedDocument
│ │ ├── InputMediaDocument
│ │ ├── InputMediaVenue
│ │ ├── InputMediaPhotoExternal
│ │ ├── InputMediaDocumentExternal
│ │ ├── InputMediaGame
│ │ ├── InputMediaInvoice
│ │ ├── InputMediaGeoLive
│ │ ├── InputMediaPoll
│ │ ├── InputMediaDice
│ │ ├── InputMediaStory
│ │ ├── InputMediaWebPage
│ │ ├── InputMediaPaidMedia
│ │ ├── InputMediaTodo
│ │ └── InputMediaStakeDice
│ ├── InputMediaDice
│ │ └── emoticon → string
│ ├── InputMediaStory
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ └── id → int
│ ├── InputMediaWebPage
│ │ ├── force_large_media → true (optional)
│ │ ├── force_small_media → true (optional)
│ │ ├── optional → true (optional)
│ │ └── url → string
│ ├── InputMediaPaidMedia
│ │ ├── stars_amount → long
│ │ ├── extended_media → Vector < InputMedia >
│ │ │ ├── InputMediaEmpty
│ │ │ ├── InputMediaUploadedPhoto
│ │ │ │ ├── spoiler → true (optional)
│ │ │ │ ├── live_photo → true (optional)
│ │ │ │ ├── file → InputFile
│ │ │ │ │ ├── InputFile
│ │ │ │ │ ├── InputFileBig
│ │ │ │ │ └── InputFileStoryDocument
│ │ │ │ ├── stickers → Vector < InputDocument > (optional)
│ │ │ │ │ ├── InputDocumentEmpty
│ │ │ │ │ └── InputDocument
│ │ │ │ ├── ttl_seconds → int (optional)
│ │ │ │ └── video → InputDocument (optional)
│ │ │ │ ├── InputDocumentEmpty
│ │ │ │ └── InputDocument
│ │ │ ├── InputMediaPhoto
│ │ │ │ ├── spoiler → true (optional)
│ │ │ │ ├── live_photo → true (optional)
│ │ │ │ ├── id → InputPhoto
│ │ │ │ │ ├── InputPhotoEmpty
│ │ │ │ │ └── InputPhoto
│ │ │ │ ├── ttl_seconds → int (optional)
│ │ │ │ └── video → InputDocument (optional)
│ │ │ │ ├── InputDocumentEmpty
│ │ │ │ └── InputDocument
│ │ │ ├── InputMediaGeoPoint
│ │ │ │ └── geo_point → InputGeoPoint
│ │ │ │ ├── InputGeoPointEmpty
│ │ │ │ └── InputGeoPoint
│ │ │ ├── InputMediaContact
│ │ │ │ ├── phone_number → string
│ │ │ │ ├── first_name → string
│ │ │ │ ├── last_name → string
│ │ │ │ └── vcard → string
│ │ │ ├── InputMediaUploadedDocument
│ │ │ │ ├── nosound_video → true (optional)
│ │ │ │ ├── force_file → true (optional)
│ │ │ │ ├── spoiler → true (optional)
│ │ │ │ ├── file → InputFile
│ │ │ │ │ ├── InputFile
│ │ │ │ │ ├── InputFileBig
│ │ │ │ │ └── InputFileStoryDocument
│ │ │ │ ├── thumb → InputFile (optional)
│ │ │ │ │ ├── InputFile
│ │ │ │ │ ├── InputFileBig
│ │ │ │ │ └── InputFileStoryDocument
│ │ │ │ ├── mime_type → string
│ │ │ │ ├── attributes → Vector < DocumentAttribute >
│ │ │ │ │ ├── DocumentAttributeImageSize
│ │ │ │ │ ├── DocumentAttributeAnimated
│ │ │ │ │ ├── DocumentAttributeSticker
│ │ │ │ │ ├── DocumentAttributeVideo
│ │ │ │ │ ├── DocumentAttributeAudio
│ │ │ │ │ ├── DocumentAttributeFilename
│ │ │ │ │ ├── DocumentAttributeHasStickers
│ │ │ │ │ └── DocumentAttributeCustomEmoji
│ │ │ │ ├── stickers → Vector < InputDocument > (optional)
│ │ │ │ │ ├── InputDocumentEmpty
│ │ │ │ │ └── InputDocument
│ │ │ │ ├── video_cover → InputPhoto (optional)
│ │ │ │ │ ├── InputPhotoEmpty
│ │ │ │ │ └── InputPhoto
│ │ │ │ ├── video_timestamp → int (optional)
│ │ │ │ └── ttl_seconds → int (optional)
│ │ │ ├── InputMediaDocument
│ │ │ │ ├── spoiler → true (optional)
│ │ │ │ ├── id → InputDocument
│ │ │ │ │ ├── InputDocumentEmpty
│ │ │ │ │ └── InputDocument
│ │ │ │ ├── video_cover → InputPhoto (optional)
│ │ │ │ │ ├── InputPhotoEmpty
│ │ │ │ │ └── InputPhoto
│ │ │ │ ├── video_timestamp → int (optional)
│ │ │ │ ├── ttl_seconds → int (optional)
│ │ │ │ └── query → string (optional)
│ │ │ ├── InputMediaVenue
│ │ │ │ ├── geo_point → InputGeoPoint
│ │ │ │ │ ├── InputGeoPointEmpty
│ │ │ │ │ └── InputGeoPoint
│ │ │ │ ├── title → string
│ │ │ │ ├── address → string
│ │ │ │ ├── provider → string
│ │ │ │ ├── venue_id → string
│ │ │ │ └── venue_type → string
│ │ │ ├── InputMediaPhotoExternal
│ │ │ │ ├── spoiler → true (optional)
│ │ │ │ ├── url → string
│ │ │ │ └── ttl_seconds → int (optional)
│ │ │ ├── InputMediaDocumentExternal
│ │ │ │ ├── spoiler → true (optional)
│ │ │ │ ├── url → string
│ │ │ │ ├── ttl_seconds → int (optional)
│ │ │ │ ├── video_cover → InputPhoto (optional)
│ │ │ │ │ ├── InputPhotoEmpty
│ │ │ │ │ └── InputPhoto
│ │ │ │ └── video_timestamp → int (optional)
│ │ │ ├── InputMediaGame
│ │ │ │ └── id → InputGame
│ │ │ │ ├── InputGameID
│ │ │ │ └── InputGameShortName
│ │ │ ├── InputMediaInvoice
│ │ │ │ ├── title → string
│ │ │ │ ├── description → string
│ │ │ │ ├── photo → InputWebDocument (optional)
│ │ │ │ │ └── InputWebDocument
│ │ │ │ ├── invoice → Invoice
│ │ │ │ │ └── Invoice
│ │ │ │ ├── payload → bytes
│ │ │ │ ├── provider → string (optional)
│ │ │ │ ├── provider_data → DataJSON
│ │ │ │ │ └── DataJSON
│ │ │ │ ├── start_param → string (optional)
│ │ │ │ └── extended_media → InputMedia (optional)
│ │ │ │ ├── InputMediaEmpty
│ │ │ │ ├── InputMediaUploadedPhoto
│ │ │ │ ├── InputMediaPhoto
│ │ │ │ ├── InputMediaGeoPoint
│ │ │ │ ├── InputMediaContact
│ │ │ │ ├── InputMediaUploadedDocument
│ │ │ │ ├── InputMediaDocument
│ │ │ │ ├── InputMediaVenue
│ │ │ │ ├── InputMediaPhotoExternal
│ │ │ │ ├── InputMediaDocumentExternal
│ │ │ │ ├── InputMediaGame
│ │ │ │ ├── InputMediaInvoice
│ │ │ │ ├── InputMediaGeoLive
│ │ │ │ ├── InputMediaPoll
│ │ │ │ ├── InputMediaDice
│ │ │ │ ├── InputMediaStory
│ │ │ │ ├── InputMediaWebPage
│ │ │ │ ├── InputMediaPaidMedia
│ │ │ │ ├── InputMediaTodo
│ │ │ │ └── InputMediaStakeDice
│ │ │ ├── InputMediaGeoLive
│ │ │ │ ├── stopped → true (optional)
│ │ │ │ ├── geo_point → InputGeoPoint
│ │ │ │ │ ├── InputGeoPointEmpty
│ │ │ │ │ └── InputGeoPoint
│ │ │ │ ├── heading → int (optional)
│ │ │ │ ├── period → int (optional)
│ │ │ │ └── proximity_notification_radius → int (optional)
│ │ │ ├── InputMediaPoll
│ │ │ │ ├── poll → Poll
│ │ │ │ │ └── Poll
│ │ │ │ ├── correct_answers → Vector < int > (optional)
│ │ │ │ ├── attached_media → InputMedia (optional)
│ │ │ │ │ ├── InputMediaEmpty
│ │ │ │ │ ├── InputMediaUploadedPhoto
│ │ │ │ │ ├── InputMediaPhoto
│ │ │ │ │ ├── InputMediaGeoPoint
│ │ │ │ │ ├── InputMediaContact
│ │ │ │ │ ├── InputMediaUploadedDocument
│ │ │ │ │ ├── InputMediaDocument
│ │ │ │ │ ├── InputMediaVenue
│ │ │ │ │ ├── InputMediaPhotoExternal
│ │ │ │ │ ├── InputMediaDocumentExternal
│ │ │ │ │ ├── InputMediaGame
│ │ │ │ │ ├── InputMediaInvoice
│ │ │ │ │ ├── InputMediaGeoLive
│ │ │ │ │ ├── InputMediaPoll
│ │ │ │ │ ├── InputMediaDice
│ │ │ │ │ ├── InputMediaStory
│ │ │ │ │ ├── InputMediaWebPage
│ │ │ │ │ ├── InputMediaPaidMedia
│ │ │ │ │ ├── InputMediaTodo
│ │ │ │ │ └── InputMediaStakeDice
│ │ │ │ ├── solution → string (optional)
│ │ │ │ ├── solution_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
│ │ │ │ └── solution_media → InputMedia (optional)
│ │ │ │ ├── InputMediaEmpty
│ │ │ │ ├── InputMediaUploadedPhoto
│ │ │ │ ├── InputMediaPhoto
│ │ │ │ ├── InputMediaGeoPoint
│ │ │ │ ├── InputMediaContact
│ │ │ │ ├── InputMediaUploadedDocument
│ │ │ │ ├── InputMediaDocument
│ │ │ │ ├── InputMediaVenue
│ │ │ │ ├── InputMediaPhotoExternal
│ │ │ │ ├── InputMediaDocumentExternal
│ │ │ │ ├── InputMediaGame
│ │ │ │ ├── InputMediaInvoice
│ │ │ │ ├── InputMediaGeoLive
│ │ │ │ ├── InputMediaPoll
│ │ │ │ ├── InputMediaDice
│ │ │ │ ├── InputMediaStory
│ │ │ │ ├── InputMediaWebPage
│ │ │ │ ├── InputMediaPaidMedia
│ │ │ │ ├── InputMediaTodo
│ │ │ │ └── InputMediaStakeDice
│ │ │ ├── InputMediaDice
│ │ │ │ └── emoticon → string
│ │ │ ├── InputMediaStory
│ │ │ │ ├── peer → InputPeer
│ │ │ │ │ ├── InputPeerEmpty
│ │ │ │ │ ├── InputPeerSelf
│ │ │ │ │ ├── InputPeerChat
│ │ │ │ │ ├── InputPeerUser
│ │ │ │ │ ├── InputPeerChannel
│ │ │ │ │ ├── InputPeerUserFromMessage
│ │ │ │ │ └── InputPeerChannelFromMessage
│ │ │ │ └── id → int
│ │ │ ├── InputMediaWebPage
│ │ │ │ ├── force_large_media → true (optional)
│ │ │ │ ├── force_small_media → true (optional)
│ │ │ │ ├── optional → true (optional)
│ │ │ │ └── url → string
│ │ │ ├── InputMediaPaidMedia
│ │ │ │ ├── stars_amount → long
│ │ │ │ ├── extended_media → Vector < InputMedia >
│ │ │ │ │ ├── InputMediaEmpty
│ │ │ │ │ ├── InputMediaUploadedPhoto
│ │ │ │ │ ├── InputMediaPhoto
│ │ │ │ │ ├── InputMediaGeoPoint
│ │ │ │ │ ├── InputMediaContact
│ │ │ │ │ ├── InputMediaUploadedDocument
│ │ │ │ │ ├── InputMediaDocument
│ │ │ │ │ ├── InputMediaVenue
│ │ │ │ │ ├── InputMediaPhotoExternal
│ │ │ │ │ ├── InputMediaDocumentExternal
│ │ │ │ │ ├── InputMediaGame
│ │ │ │ │ ├── InputMediaInvoice
│ │ │ │ │ ├── InputMediaGeoLive
│ │ │ │ │ ├── InputMediaPoll
│ │ │ │ │ ├── InputMediaDice
│ │ │ │ │ ├── InputMediaStory
│ │ │ │ │ ├── InputMediaWebPage
│ │ │ │ │ ├── InputMediaPaidMedia
│ │ │ │ │ ├── InputMediaTodo
│ │ │ │ │ └── InputMediaStakeDice
│ │ │ │ └── payload → string (optional)
│ │ │ ├── InputMediaTodo
│ │ │ │ └── todo → TodoList
│ │ │ │ └── TodoList
│ │ │ └── InputMediaStakeDice
│ │ │ ├── game_hash → string
│ │ │ ├── ton_amount → long
│ │ │ └── client_seed → bytes
│ │ └── payload → string (optional)
│ ├── InputMediaTodo
│ │ └── todo → TodoList
│ │ └── TodoList
│ │ ├── others_can_append → true (optional)
│ │ ├── others_can_complete → true (optional)
│ │ ├── title → TextWithEntities
│ │ │ └── TextWithEntities
│ │ └── list → Vector < TodoItem >
│ │ └── TodoItem
│ └── InputMediaStakeDice
│ ├── game_hash → string
│ ├── ton_amount → long
│ └── client_seed → bytes
├── effect → long (optional)
├── suggested_post → SuggestedPost (optional)
│ └── SuggestedPost
│ ├── accepted → true (optional)
│ ├── rejected → true (optional)
│ ├── price → StarsAmount (optional)
│ │ ├── StarsAmount
│ │ │ ├── amount → long
│ │ │ └── nanos → int
│ │ └── StarsTonAmount
│ │ └── amount → long
│ └── schedule_date → int (optional)
└── rich_message → InputRichMessage (optional)
│ ├── rtl → true (optional)
│ ├── noautolink → true (optional)
│ ├── blocks → Vector < PageBlock >
│ │ ├── PageBlockUnsupported
│ │ ├── PageBlockTitle
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockSubtitle
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockAuthorDate
│ │ │ ├── author → RichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ ├── TextAnchor
│ │ │ │ ├── TextMath
│ │ │ │ ├── TextCustomEmoji
│ │ │ │ ├── TextSpoiler
│ │ │ │ ├── TextMention
│ │ │ │ ├── TextHashtag
│ │ │ │ ├── TextBotCommand
│ │ │ │ ├── TextCashtag
│ │ │ │ ├── TextAutoUrl
│ │ │ │ ├── TextAutoEmail
│ │ │ │ ├── TextAutoPhone
│ │ │ │ ├── TextBankCard
│ │ │ │ ├── TextMentionName
│ │ │ │ └── TextDate
│ │ │ └── published_date → int
│ │ ├── PageBlockHeader
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockSubheader
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockParagraph
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockPreformatted
│ │ │ ├── text → RichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ ├── TextAnchor
│ │ │ │ ├── TextMath
│ │ │ │ ├── TextCustomEmoji
│ │ │ │ ├── TextSpoiler
│ │ │ │ ├── TextMention
│ │ │ │ ├── TextHashtag
│ │ │ │ ├── TextBotCommand
│ │ │ │ ├── TextCashtag
│ │ │ │ ├── TextAutoUrl
│ │ │ │ ├── TextAutoEmail
│ │ │ │ ├── TextAutoPhone
│ │ │ │ ├── TextBankCard
│ │ │ │ ├── TextMentionName
│ │ │ │ └── TextDate
│ │ │ └── language → string
│ │ ├── PageBlockFooter
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockDivider
│ │ ├── PageBlockAnchor
│ │ │ └── name → string
│ │ ├── PageBlockList
│ │ │ └── items → Vector < PageListItem >
│ │ │ ├── PageListItemText
│ │ │ └── PageListItemBlocks
│ │ ├── PageBlockBlockquote
│ │ │ ├── text → RichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ ├── TextAnchor
│ │ │ │ ├── TextMath
│ │ │ │ ├── TextCustomEmoji
│ │ │ │ ├── TextSpoiler
│ │ │ │ ├── TextMention
│ │ │ │ ├── TextHashtag
│ │ │ │ ├── TextBotCommand
│ │ │ │ ├── TextCashtag
│ │ │ │ ├── TextAutoUrl
│ │ │ │ ├── TextAutoEmail
│ │ │ │ ├── TextAutoPhone
│ │ │ │ ├── TextBankCard
│ │ │ │ ├── TextMentionName
│ │ │ │ └── TextDate
│ │ │ └── caption → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockPullquote
│ │ │ ├── text → RichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ ├── TextAnchor
│ │ │ │ ├── TextMath
│ │ │ │ ├── TextCustomEmoji
│ │ │ │ ├── TextSpoiler
│ │ │ │ ├── TextMention
│ │ │ │ ├── TextHashtag
│ │ │ │ ├── TextBotCommand
│ │ │ │ ├── TextCashtag
│ │ │ │ ├── TextAutoUrl
│ │ │ │ ├── TextAutoEmail
│ │ │ │ ├── TextAutoPhone
│ │ │ │ ├── TextBankCard
│ │ │ │ ├── TextMentionName
│ │ │ │ └── TextDate
│ │ │ └── caption → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockPhoto
│ │ │ ├── spoiler → true (optional)
│ │ │ ├── photo_id → long
│ │ │ ├── caption → PageCaption
│ │ │ │ └── PageCaption
│ │ │ ├── url → string (optional)
│ │ │ └── webpage_id → long (optional)
│ │ ├── PageBlockVideo
│ │ │ ├── autoplay → true (optional)
│ │ │ ├── loop → true (optional)
│ │ │ ├── spoiler → true (optional)
│ │ │ ├── video_id → long
│ │ │ └── caption → PageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockCover
│ │ │ └── cover → PageBlock
│ │ │ ├── PageBlockUnsupported
│ │ │ ├── PageBlockTitle
│ │ │ ├── PageBlockSubtitle
│ │ │ ├── PageBlockAuthorDate
│ │ │ ├── PageBlockHeader
│ │ │ ├── PageBlockSubheader
│ │ │ ├── PageBlockParagraph
│ │ │ ├── PageBlockPreformatted
│ │ │ ├── PageBlockFooter
│ │ │ ├── PageBlockDivider
│ │ │ ├── PageBlockAnchor
│ │ │ ├── PageBlockList
│ │ │ ├── PageBlockBlockquote
│ │ │ ├── PageBlockPullquote
│ │ │ ├── PageBlockPhoto
│ │ │ ├── PageBlockVideo
│ │ │ ├── PageBlockCover
│ │ │ ├── PageBlockEmbed
│ │ │ ├── PageBlockEmbedPost
│ │ │ ├── PageBlockCollage
│ │ │ ├── PageBlockSlideshow
│ │ │ ├── PageBlockChannel
│ │ │ ├── PageBlockAudio
│ │ │ ├── PageBlockKicker
│ │ │ ├── PageBlockTable
│ │ │ ├── PageBlockOrderedList
│ │ │ ├── PageBlockDetails
│ │ │ ├── PageBlockRelatedArticles
│ │ │ ├── PageBlockMap
│ │ │ ├── PageBlockHeading1
│ │ │ ├── PageBlockHeading2
│ │ │ ├── PageBlockHeading3
│ │ │ ├── PageBlockHeading4
│ │ │ ├── PageBlockHeading5
│ │ │ ├── PageBlockHeading6
│ │ │ ├── PageBlockMath
│ │ │ ├── PageBlockThinking
│ │ │ ├── InputPageBlockMap
│ │ │ └── PageBlockBlockquoteBlocks
│ │ ├── PageBlockEmbed
│ │ │ ├── full_width → true (optional)
│ │ │ ├── allow_scrolling → true (optional)
│ │ │ ├── url → string (optional)
│ │ │ ├── html → string (optional)
│ │ │ ├── poster_photo_id → long (optional)
│ │ │ ├── w → int (optional)
│ │ │ ├── h → int (optional)
│ │ │ └── caption → PageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockEmbedPost
│ │ │ ├── url → string
│ │ │ ├── webpage_id → long
│ │ │ ├── author_photo_id → long
│ │ │ ├── author → string
│ │ │ ├── date → int
│ │ │ ├── blocks → Vector < PageBlock >
│ │ │ │ ├── PageBlockUnsupported
│ │ │ │ ├── PageBlockTitle
│ │ │ │ ├── PageBlockSubtitle
│ │ │ │ ├── PageBlockAuthorDate
│ │ │ │ ├── PageBlockHeader
│ │ │ │ ├── PageBlockSubheader
│ │ │ │ ├── PageBlockParagraph
│ │ │ │ ├── PageBlockPreformatted
│ │ │ │ ├── PageBlockFooter
│ │ │ │ ├── PageBlockDivider
│ │ │ │ ├── PageBlockAnchor
│ │ │ │ ├── PageBlockList
│ │ │ │ ├── PageBlockBlockquote
│ │ │ │ ├── PageBlockPullquote
│ │ │ │ ├── PageBlockPhoto
│ │ │ │ ├── PageBlockVideo
│ │ │ │ ├── PageBlockCover
│ │ │ │ ├── PageBlockEmbed
│ │ │ │ ├── PageBlockEmbedPost
│ │ │ │ ├── PageBlockCollage
│ │ │ │ ├── PageBlockSlideshow
│ │ │ │ ├── PageBlockChannel
│ │ │ │ ├── PageBlockAudio
│ │ │ │ ├── PageBlockKicker
│ │ │ │ ├── PageBlockTable
│ │ │ │ ├── PageBlockOrderedList
│ │ │ │ ├── PageBlockDetails
│ │ │ │ ├── PageBlockRelatedArticles
│ │ │ │ ├── PageBlockMap
│ │ │ │ ├── PageBlockHeading1
│ │ │ │ ├── PageBlockHeading2
│ │ │ │ ├── PageBlockHeading3
│ │ │ │ ├── PageBlockHeading4
│ │ │ │ ├── PageBlockHeading5
│ │ │ │ ├── PageBlockHeading6
│ │ │ │ ├── PageBlockMath
│ │ │ │ ├── PageBlockThinking
│ │ │ │ ├── InputPageBlockMap
│ │ │ │ └── PageBlockBlockquoteBlocks
│ │ │ └── caption → PageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockCollage
│ │ │ ├── items → Vector < PageBlock >
│ │ │ │ ├── PageBlockUnsupported
│ │ │ │ ├── PageBlockTitle
│ │ │ │ ├── PageBlockSubtitle
│ │ │ │ ├── PageBlockAuthorDate
│ │ │ │ ├── PageBlockHeader
│ │ │ │ ├── PageBlockSubheader
│ │ │ │ ├── PageBlockParagraph
│ │ │ │ ├── PageBlockPreformatted
│ │ │ │ ├── PageBlockFooter
│ │ │ │ ├── PageBlockDivider
│ │ │ │ ├── PageBlockAnchor
│ │ │ │ ├── PageBlockList
│ │ │ │ ├── PageBlockBlockquote
│ │ │ │ ├── PageBlockPullquote
│ │ │ │ ├── PageBlockPhoto
│ │ │ │ ├── PageBlockVideo
│ │ │ │ ├── PageBlockCover
│ │ │ │ ├── PageBlockEmbed
│ │ │ │ ├── PageBlockEmbedPost
│ │ │ │ ├── PageBlockCollage
│ │ │ │ ├── PageBlockSlideshow
│ │ │ │ ├── PageBlockChannel
│ │ │ │ ├── PageBlockAudio
│ │ │ │ ├── PageBlockKicker
│ │ │ │ ├── PageBlockTable
│ │ │ │ ├── PageBlockOrderedList
│ │ │ │ ├── PageBlockDetails
│ │ │ │ ├── PageBlockRelatedArticles
│ │ │ │ ├── PageBlockMap
│ │ │ │ ├── PageBlockHeading1
│ │ │ │ ├── PageBlockHeading2
│ │ │ │ ├── PageBlockHeading3
│ │ │ │ ├── PageBlockHeading4
│ │ │ │ ├── PageBlockHeading5
│ │ │ │ ├── PageBlockHeading6
│ │ │ │ ├── PageBlockMath
│ │ │ │ ├── PageBlockThinking
│ │ │ │ ├── InputPageBlockMap
│ │ │ │ └── PageBlockBlockquoteBlocks
│ │ │ └── caption → PageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockSlideshow
│ │ │ ├── items → Vector < PageBlock >
│ │ │ │ ├── PageBlockUnsupported
│ │ │ │ ├── PageBlockTitle
│ │ │ │ ├── PageBlockSubtitle
│ │ │ │ ├── PageBlockAuthorDate
│ │ │ │ ├── PageBlockHeader
│ │ │ │ ├── PageBlockSubheader
│ │ │ │ ├── PageBlockParagraph
│ │ │ │ ├── PageBlockPreformatted
│ │ │ │ ├── PageBlockFooter
│ │ │ │ ├── PageBlockDivider
│ │ │ │ ├── PageBlockAnchor
│ │ │ │ ├── PageBlockList
│ │ │ │ ├── PageBlockBlockquote
│ │ │ │ ├── PageBlockPullquote
│ │ │ │ ├── PageBlockPhoto
│ │ │ │ ├── PageBlockVideo
│ │ │ │ ├── PageBlockCover
│ │ │ │ ├── PageBlockEmbed
│ │ │ │ ├── PageBlockEmbedPost
│ │ │ │ ├── PageBlockCollage
│ │ │ │ ├── PageBlockSlideshow
│ │ │ │ ├── PageBlockChannel
│ │ │ │ ├── PageBlockAudio
│ │ │ │ ├── PageBlockKicker
│ │ │ │ ├── PageBlockTable
│ │ │ │ ├── PageBlockOrderedList
│ │ │ │ ├── PageBlockDetails
│ │ │ │ ├── PageBlockRelatedArticles
│ │ │ │ ├── PageBlockMap
│ │ │ │ ├── PageBlockHeading1
│ │ │ │ ├── PageBlockHeading2
│ │ │ │ ├── PageBlockHeading3
│ │ │ │ ├── PageBlockHeading4
│ │ │ │ ├── PageBlockHeading5
│ │ │ │ ├── PageBlockHeading6
│ │ │ │ ├── PageBlockMath
│ │ │ │ ├── PageBlockThinking
│ │ │ │ ├── InputPageBlockMap
│ │ │ │ └── PageBlockBlockquoteBlocks
│ │ │ └── caption → PageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockChannel
│ │ │ └── channel → Chat
│ │ │ ├── ChatEmpty
│ │ │ ├── Chat
│ │ │ ├── ChatForbidden
│ │ │ ├── Channel
│ │ │ └── ChannelForbidden
│ │ ├── PageBlockAudio
│ │ │ ├── audio_id → long
│ │ │ └── caption → PageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockKicker
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockTable
│ │ │ ├── bordered → true (optional)
│ │ │ ├── striped → true (optional)
│ │ │ ├── title → RichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ ├── TextAnchor
│ │ │ │ ├── TextMath
│ │ │ │ ├── TextCustomEmoji
│ │ │ │ ├── TextSpoiler
│ │ │ │ ├── TextMention
│ │ │ │ ├── TextHashtag
│ │ │ │ ├── TextBotCommand
│ │ │ │ ├── TextCashtag
│ │ │ │ ├── TextAutoUrl
│ │ │ │ ├── TextAutoEmail
│ │ │ │ ├── TextAutoPhone
│ │ │ │ ├── TextBankCard
│ │ │ │ ├── TextMentionName
│ │ │ │ └── TextDate
│ │ │ └── rows → Vector < PageTableRow >
│ │ │ └── PageTableRow
│ │ ├── PageBlockOrderedList
│ │ │ ├── reversed → true (optional)
│ │ │ ├── items → Vector < PageListOrderedItem >
│ │ │ │ ├── PageListOrderedItemText
│ │ │ │ └── PageListOrderedItemBlocks
│ │ │ ├── start → int (optional)
│ │ │ └── type → string (optional)
│ │ ├── PageBlockDetails
│ │ │ ├── open → true (optional)
│ │ │ ├── blocks → Vector < PageBlock >
│ │ │ │ ├── PageBlockUnsupported
│ │ │ │ ├── PageBlockTitle
│ │ │ │ ├── PageBlockSubtitle
│ │ │ │ ├── PageBlockAuthorDate
│ │ │ │ ├── PageBlockHeader
│ │ │ │ ├── PageBlockSubheader
│ │ │ │ ├── PageBlockParagraph
│ │ │ │ ├── PageBlockPreformatted
│ │ │ │ ├── PageBlockFooter
│ │ │ │ ├── PageBlockDivider
│ │ │ │ ├── PageBlockAnchor
│ │ │ │ ├── PageBlockList
│ │ │ │ ├── PageBlockBlockquote
│ │ │ │ ├── PageBlockPullquote
│ │ │ │ ├── PageBlockPhoto
│ │ │ │ ├── PageBlockVideo
│ │ │ │ ├── PageBlockCover
│ │ │ │ ├── PageBlockEmbed
│ │ │ │ ├── PageBlockEmbedPost
│ │ │ │ ├── PageBlockCollage
│ │ │ │ ├── PageBlockSlideshow
│ │ │ │ ├── PageBlockChannel
│ │ │ │ ├── PageBlockAudio
│ │ │ │ ├── PageBlockKicker
│ │ │ │ ├── PageBlockTable
│ │ │ │ ├── PageBlockOrderedList
│ │ │ │ ├── PageBlockDetails
│ │ │ │ ├── PageBlockRelatedArticles
│ │ │ │ ├── PageBlockMap
│ │ │ │ ├── PageBlockHeading1
│ │ │ │ ├── PageBlockHeading2
│ │ │ │ ├── PageBlockHeading3
│ │ │ │ ├── PageBlockHeading4
│ │ │ │ ├── PageBlockHeading5
│ │ │ │ ├── PageBlockHeading6
│ │ │ │ ├── PageBlockMath
│ │ │ │ ├── PageBlockThinking
│ │ │ │ ├── InputPageBlockMap
│ │ │ │ └── PageBlockBlockquoteBlocks
│ │ │ └── title → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockRelatedArticles
│ │ │ ├── title → RichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ ├── TextAnchor
│ │ │ │ ├── TextMath
│ │ │ │ ├── TextCustomEmoji
│ │ │ │ ├── TextSpoiler
│ │ │ │ ├── TextMention
│ │ │ │ ├── TextHashtag
│ │ │ │ ├── TextBotCommand
│ │ │ │ ├── TextCashtag
│ │ │ │ ├── TextAutoUrl
│ │ │ │ ├── TextAutoEmail
│ │ │ │ ├── TextAutoPhone
│ │ │ │ ├── TextBankCard
│ │ │ │ ├── TextMentionName
│ │ │ │ └── TextDate
│ │ │ └── articles → Vector < PageRelatedArticle >
│ │ │ └── PageRelatedArticle
│ │ ├── PageBlockMap
│ │ │ ├── geo → GeoPoint
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── zoom → int
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── caption → PageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockHeading1
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockHeading2
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockHeading3
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockHeading4
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockHeading5
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockHeading6
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── PageBlockMath
│ │ │ └── source → string
│ │ ├── PageBlockThinking
│ │ │ └── text → RichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ ├── TextAnchor
│ │ │ ├── TextMath
│ │ │ ├── TextCustomEmoji
│ │ │ ├── TextSpoiler
│ │ │ ├── TextMention
│ │ │ ├── TextHashtag
│ │ │ ├── TextBotCommand
│ │ │ ├── TextCashtag
│ │ │ ├── TextAutoUrl
│ │ │ ├── TextAutoEmail
│ │ │ ├── TextAutoPhone
│ │ │ ├── TextBankCard
│ │ │ ├── TextMentionName
│ │ │ └── TextDate
│ │ ├── InputPageBlockMap
│ │ │ ├── geo → InputGeoPoint
│ │ │ │ ├── InputGeoPointEmpty
│ │ │ │ └── InputGeoPoint
│ │ │ ├── zoom → int
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── caption → PageCaption
│ │ │ └── PageCaption
│ │ └── PageBlockBlockquoteBlocks
│ │ ├── blocks → Vector < PageBlock >
│ │ │ ├── PageBlockUnsupported
│ │ │ ├── PageBlockTitle
│ │ │ ├── PageBlockSubtitle
│ │ │ ├── PageBlockAuthorDate
│ │ │ ├── PageBlockHeader
│ │ │ ├── PageBlockSubheader
│ │ │ ├── PageBlockParagraph
│ │ │ ├── PageBlockPreformatted
│ │ │ ├── PageBlockFooter
│ │ │ ├── PageBlockDivider
│ │ │ ├── PageBlockAnchor
│ │ │ ├── PageBlockList
│ │ │ ├── PageBlockBlockquote
│ │ │ ├── PageBlockPullquote
│ │ │ ├── PageBlockPhoto
│ │ │ ├── PageBlockVideo
│ │ │ ├── PageBlockCover
│ │ │ ├── PageBlockEmbed
│ │ │ ├── PageBlockEmbedPost
│ │ │ ├── PageBlockCollage
│ │ │ ├── PageBlockSlideshow
│ │ │ ├── PageBlockChannel
│ │ │ ├── PageBlockAudio
│ │ │ ├── PageBlockKicker
│ │ │ ├── PageBlockTable
│ │ │ ├── PageBlockOrderedList
│ │ │ ├── PageBlockDetails
│ │ │ ├── PageBlockRelatedArticles
│ │ │ ├── PageBlockMap
│ │ │ ├── PageBlockHeading1
│ │ │ ├── PageBlockHeading2
│ │ │ ├── PageBlockHeading3
│ │ │ ├── PageBlockHeading4
│ │ │ ├── PageBlockHeading5
│ │ │ ├── PageBlockHeading6
│ │ │ ├── PageBlockMath
│ │ │ ├── PageBlockThinking
│ │ │ ├── InputPageBlockMap
│ │ │ └── PageBlockBlockquoteBlocks
│ │ └── caption → RichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ ├── TextAnchor
│ │ ├── TextMath
│ │ ├── TextCustomEmoji
│ │ ├── TextSpoiler
│ │ ├── TextMention
│ │ ├── TextHashtag
│ │ ├── TextBotCommand
│ │ ├── TextCashtag
│ │ ├── TextAutoUrl
│ │ ├── TextAutoEmail
│ │ ├── TextAutoPhone
│ │ ├── TextBankCard
│ │ ├── TextMentionName
│ │ └── TextDate
│ ├── photos → Vector < InputPhoto > (optional)
│ │ ├── InputPhotoEmpty
│ │ └── InputPhoto
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ └── file_reference → bytes
│ ├── documents → Vector < InputDocument > (optional)
│ │ ├── InputDocumentEmpty
│ │ └── InputDocument
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ └── file_reference → bytes
│ └── users → Vector < InputUser > (optional)
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ └── InputUserFromMessage
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── user_id → long
│ ├── rtl → true (optional)
│ ├── noautolink → true (optional)
│ ├── html → string
│ └── files → Vector < InputRichFile > (optional)
│ ├── InputRichFilePhoto
│ │ ├── id → string
│ │ └── photo → InputPhoto
│ │ ├── InputPhotoEmpty
│ │ └── InputPhoto
│ └── InputRichFileDocument
│ ├── id → string
│ └── document → InputDocument
│ ├── InputDocumentEmpty
│ └── InputDocument
├── rtl → true (optional)
├── noautolink → true (optional)
├── markdown → string
└── files → Vector < InputRichFile > (optional)
│ ├── id → string
│ └── photo → InputPhoto
│ ├── InputPhotoEmpty
│ └── InputPhoto
├── id → string
└── document → InputDocument
└── InputDocument

Example

await app.invoke(
    SaveDraft(
        no_webpage=None,
        invert_media=None,
        reply_to=InputReplyToMessage(
            reply_to_msg_id=0,
            top_msg_id=None,
            reply_to_peer_id=None,
            quote_text=None,
            quote_entities=None,
            quote_offset=None,
            monoforum_peer_id=None,
            todo_item_id=None,
            poll_option=None
        ),
        peer=await app.resolve_peer(chat_id),
        message="Hello",
        entities=[
                MessageEntityUnknown(
                    offset=0,
                    length=0
                )
            ],
        media=InputMediaEmpty(),
        effect=0,
        suggested_post=SuggestedPost(
            accepted=None,
            rejected=None,
            price=None,
            schedule_date=None
        ),
        rich_message=InputRichMessage(
            rtl=None,
            noautolink=None,
            blocks=[
                    PageBlockUnsupported()
                ],
            photos=None,
            documents=None,
            users=None
        ),
    )
)