BotInlineMessageRichMessage

class pyrogram.raw.types.BotInlineMessageRichMessage

Telegram API type.

Constructor of BotInlineMessage.

Details:
  • Layer: 227

  • ID: A617E7B

Parameters:

TL Schema

botInlineMessageRichMessage#a617e7b
flags:#
reply_markup:flags.2?ReplyMarkup
rich_message:RichMessage

= BotInlineMessage

Parameter Tree

BotInlineMessageRichMessage
├── reply_markup → ReplyMarkup (optional)
│ ├── ReplyKeyboardHide
│ │ └── selective → true (optional)
│ │ ├── single_use → true (optional)
│ │ ├── selective → true (optional)
│ │ └── placeholder → string (optional)
│ ├── ReplyKeyboardMarkup
│ │ ├── resize → true (optional)
│ │ ├── single_use → true (optional)
│ │ ├── selective → true (optional)
│ │ ├── persistent → true (optional)
│ │ ├── rows → Vector < KeyboardButtonRow >
│ │ │ └── KeyboardButtonRow
│ │ │ └── buttons → Vector < KeyboardButton >
│ │ │ ├── KeyboardButton
│ │ │ ├── KeyboardButtonUrl
│ │ │ ├── KeyboardButtonCallback
│ │ │ ├── KeyboardButtonRequestPhone
│ │ │ ├── KeyboardButtonRequestGeoLocation
│ │ │ ├── KeyboardButtonSwitchInline
│ │ │ ├── KeyboardButtonGame
│ │ │ ├── KeyboardButtonBuy
│ │ │ ├── KeyboardButtonUrlAuth
│ │ │ ├── InputKeyboardButtonUrlAuth
│ │ │ ├── KeyboardButtonRequestPoll
│ │ │ ├── InputKeyboardButtonUserProfile
│ │ │ ├── KeyboardButtonUserProfile
│ │ │ ├── KeyboardButtonWebView
│ │ │ ├── KeyboardButtonSimpleWebView
│ │ │ ├── KeyboardButtonRequestPeer
│ │ │ ├── InputKeyboardButtonRequestPeer
│ │ │ └── KeyboardButtonCopy
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
│ └── buttons → Vector < KeyboardButton >
│ ├── KeyboardButton
│ ├── KeyboardButtonUrl
│ ├── KeyboardButtonGame
│ ├── KeyboardButtonBuy
│ ├── KeyboardButtonUrlAuth
│ ├── KeyboardButtonWebView
│ └── KeyboardButtonCopy
└── rich_message → RichMessage
└── RichMessage
├── rtl → true (optional)
├── part → 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
│ │ ├── 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
│ ├── 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 < Photo >
│ ├── PhotoEmpty
│ │ └── id → long
│ └── Photo
│ ├── has_stickers → true (optional)
│ ├── id → long
│ ├── access_hash → long
│ ├── file_reference → bytes
│ ├── date → int
│ ├── sizes → Vector < PhotoSize >
│ │ ├── PhotoSizeEmpty
│ │ ├── PhotoSize
│ │ ├── PhotoCachedSize
│ │ ├── PhotoStrippedSize
│ │ ├── PhotoSizeProgressive
│ │ └── PhotoPathSize
│ ├── video_sizes → Vector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ ├── VideoSizeEmojiMarkup
│ │ └── VideoSizeStickerMarkup
│ └── dc_id → int
└── documents → Vector < Document >
├── DocumentEmpty
│ └── id → long
└── Document
├── id → long
├── access_hash → long
├── file_reference → bytes
├── date → int
├── mime_type → string
├── size → long
├── thumbs → Vector < PhotoSize > (optional)
│ ├── PhotoSizeEmpty
│ ├── PhotoSize
│ ├── PhotoCachedSize
│ ├── PhotoStrippedSize
│ ├── PhotoSizeProgressive
│ └── PhotoPathSize
├── video_thumbs → Vector < VideoSize > (optional)
│ ├── VideoSize
│ ├── VideoSizeEmojiMarkup
├── dc_id → int
└── attributes → Vector < DocumentAttribute >

Example

BotInlineMessageRichMessage(
    rich_message=RichMessage(
        blocks=[
                PageBlockUnsupported()
            ],
        photos=[
                PhotoEmpty(id=0)
            ],
        documents=[
                DocumentEmpty(id=0)
            ]
    ),
)