PageBlockPhoto

class pyrogram.raw.types.PageBlockPhoto

A photo

Constructor of PageBlock.

Details:
  • Layer: 227

  • ID: 1759C560

Parameters:
  • photo_id (int 64-bit) – Photo ID

  • caption (PageCaption) – Caption

  • spoiler (bool, optional) – N/A

  • url (str, optional) – HTTP URL of page the photo leads to when clicked

  • webpage_id (int 64-bit, optional) – ID of preview of the page the photo leads to when clicked

TL Schema

pageBlockPhoto#1759c560
flags:#
spoiler:flags.1?true
photo_id:long
caption:PageCaption
url:flags.0?string
webpage_id:flags.0?long

= PageBlock

Parameter Tree

PageBlockPhoto
├── spoiler → true (optional)
├── photo_id → long
├── caption → PageCaption
│ └── PageCaption
│ ├── text → RichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ │ └── text → string
│ │ ├── TextBold
│ │ │ └── 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
│ │ ├── TextItalic
│ │ │ └── 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
│ │ ├── TextUnderline
│ │ │ └── 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
│ │ ├── TextStrike
│ │ │ └── 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
│ │ ├── TextFixed
│ │ │ └── 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
│ │ ├── TextUrl
│ │ │ ├── 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
│ │ │ ├── url → string
│ │ │ └── webpage_id → long
│ │ ├── TextEmail
│ │ │ ├── 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
│ │ │ └── email → string
│ │ ├── TextConcat
│ │ │ └── texts → Vector < 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
│ │ ├── TextSubscript
│ │ │ └── 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
│ │ ├── TextSuperscript
│ │ │ └── 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
│ │ ├── TextMarked
│ │ │ └── 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
│ │ ├── TextPhone
│ │ │ ├── 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
│ │ │ └── phone → string
│ │ ├── TextImage
│ │ │ ├── document_id → long
│ │ │ ├── w → int
│ │ │ └── h → int
│ │ ├── TextAnchor
│ │ │ ├── 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
│ │ │ └── name → string
│ │ ├── TextMath
│ │ │ └── source → string
│ │ ├── TextCustomEmoji
│ │ │ ├── document_id → long
│ │ │ └── alt → string
│ │ ├── TextSpoiler
│ │ │ └── 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
│ │ ├── TextMention
│ │ │ └── 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
│ │ ├── TextHashtag
│ │ │ └── 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
│ │ ├── TextBotCommand
│ │ │ └── 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
│ │ ├── TextCashtag
│ │ │ └── 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
│ │ ├── TextAutoUrl
│ │ │ └── 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
│ │ ├── TextAutoEmail
│ │ │ └── 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
│ │ ├── TextAutoPhone
│ │ │ └── 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
│ │ ├── TextBankCard
│ │ │ └── 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
│ │ ├── TextMentionName
│ │ │ ├── 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
│ │ │ └── user_id → long
│ │ └── TextDate
│ │ ├── relative → true (optional)
│ │ ├── short_time → true (optional)
│ │ ├── long_time → true (optional)
│ │ ├── short_date → true (optional)
│ │ ├── long_date → true (optional)
│ │ ├── day_of_week → true (optional)
│ │ ├── 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
│ │ └── date → int
│ └── credit → RichText
│ ├── TextEmpty
│ ├── TextPlain
│ │ └── text → string
│ ├── TextBold
│ │ └── 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
│ ├── TextItalic
│ │ └── 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
│ ├── TextUnderline
│ │ └── 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
│ ├── TextStrike
│ │ └── 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
│ ├── TextFixed
│ │ └── 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
│ ├── TextUrl
│ │ ├── 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
│ │ ├── url → string
│ │ └── webpage_id → long
│ ├── TextEmail
│ │ ├── 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
│ │ └── email → string
│ ├── TextConcat
│ │ └── texts → Vector < 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
│ ├── TextSubscript
│ │ └── 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
│ ├── TextSuperscript
│ │ └── 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
│ ├── TextMarked
│ │ └── 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
│ ├── TextPhone
│ │ ├── 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
│ │ └── phone → string
│ ├── TextImage
│ │ ├── document_id → long
│ │ ├── w → int
│ │ └── h → int
│ ├── TextAnchor
│ │ ├── 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
│ │ └── name → string
│ ├── TextMath
│ │ └── source → string
│ ├── TextCustomEmoji
│ │ ├── document_id → long
│ │ └── alt → string
│ ├── TextSpoiler
│ │ └── 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
│ ├── TextMention
│ │ └── 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
│ ├── TextHashtag
│ │ └── 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
│ ├── TextBotCommand
│ │ └── 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
│ ├── TextCashtag
│ │ └── 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
│ ├── TextAutoUrl
│ │ └── 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
│ ├── TextAutoEmail
│ │ └── 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
│ ├── TextAutoPhone
│ │ └── 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
│ ├── TextBankCard
│ │ └── 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
│ ├── TextMentionName
│ │ ├── 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
│ │ └── user_id → long
│ └── TextDate
│ ├── relative → true (optional)
│ ├── short_time → true (optional)
│ ├── long_time → true (optional)
│ ├── short_date → true (optional)
│ ├── long_date → true (optional)
│ ├── day_of_week → true (optional)
│ ├── 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
│ └── date → int
├── url → string (optional)
└── webpage_id → long (optional)

Example

PageBlockPhoto(
    photo_id=0,
    caption=PageCaption(
        text=TextEmpty(),
        credit=TextEmpty()
    ),
)