BotInlineMediaResult

class pyrogram.raw.types.BotInlineMediaResult

Media result

Constructor of BotInlineResult.

Details:
  • Layer: 227

  • ID: 17DB940B

Parameters:
  • id (str) – Result ID

  • type (str) – Result type (see bot API docs)

  • send_message (BotInlineMessage) – Depending on the type and on the constructor, contains the caption of the media or the content of the message to be sent instead of the media

  • photo (Photo, optional) – If type is photo, the photo to send

  • document (Document, optional) – If type is document, the document to send

  • title (str, optional) – Result title

  • description (str, optional) – Description

TL Schema

botInlineMediaResult#17db940b
flags:#
id:string
type:string
photo:flags.0?Photo
document:flags.1?Document
title:flags.2?string
description:flags.3?string
send_message:BotInlineMessage

= BotInlineResult

Parameter Tree

BotInlineMediaResult
├── id → string
├── type → string
├── photo → Photo (optional)
│ ├── PhotoEmpty
│ │ └── id → long
│ └── Photo
│ ├── has_stickers → true (optional)
│ ├── id → long
│ ├── access_hash → long
│ ├── file_reference → bytes
│ ├── date → int
│ ├── sizes → Vector < PhotoSize >
│ │ ├── PhotoSizeEmpty
│ │ │ └── type → string
│ │ ├── PhotoSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── size → int
│ │ ├── PhotoCachedSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── bytes → bytes
│ │ ├── PhotoStrippedSize
│ │ │ ├── type → string
│ │ │ └── bytes → bytes
│ │ ├── PhotoSizeProgressive
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── sizes → Vector < int >
│ │ └── PhotoPathSize
│ │ ├── type → string
│ │ └── bytes → bytes
│ ├── video_sizes → Vector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ ├── size → int
│ │ │ └── video_start_ts → double (optional)
│ │ ├── VideoSizeEmojiMarkup
│ │ │ ├── emoji_id → long
│ │ │ └── background_colors → Vector < int >
│ │ └── VideoSizeStickerMarkup
│ │ ├── stickerset → InputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ ├── sticker_id → long
│ │ └── background_colors → Vector < int >
│ └── dc_id → int
├── document → Document (optional)
│ ├── DocumentEmpty
│ │ └── id → long
│ └── Document
│ ├── id → long
│ ├── access_hash → long
│ ├── file_reference → bytes
│ ├── date → int
│ ├── mime_type → string
│ ├── size → long
│ ├── thumbs → Vector < PhotoSize > (optional)
│ │ ├── PhotoSizeEmpty
│ │ │ └── type → string
│ │ ├── PhotoSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── size → int
│ │ ├── PhotoCachedSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── bytes → bytes
│ │ ├── PhotoStrippedSize
│ │ │ ├── type → string
│ │ │ └── bytes → bytes
│ │ ├── PhotoSizeProgressive
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── sizes → Vector < int >
│ │ └── PhotoPathSize
│ │ ├── type → string
│ │ └── bytes → bytes
│ ├── video_thumbs → Vector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ ├── size → int
│ │ │ └── video_start_ts → double (optional)
│ │ ├── VideoSizeEmojiMarkup
│ │ │ ├── emoji_id → long
│ │ │ └── background_colors → Vector < int >
│ │ └── VideoSizeStickerMarkup
│ │ ├── stickerset → InputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ ├── sticker_id → long
│ │ └── background_colors → Vector < int >
│ ├── dc_id → int
│ └── attributes → Vector < DocumentAttribute >
│ │ ├── w → int
│ │ └── h → int
│ │ ├── mask → true (optional)
│ │ ├── alt → string
│ │ ├── stickerset → InputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ └── mask_coords → MaskCoords (optional)
│ │ └── MaskCoords
│ │ ├── 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)
│ │ ├── voice → true (optional)
│ │ ├── duration → int
│ │ ├── title → string (optional)
│ │ ├── performer → string (optional)
│ │ └── waveform → bytes (optional)
│ │ └── file_name → string
│ ├── free → true (optional)
│ ├── text_color → true (optional)
│ ├── alt → string
│ └── stickerset → InputStickerSet
│ ├── InputStickerSetEmpty
│ ├── InputStickerSetID
│ ├── InputStickerSetDice
├── title → string (optional)
├── description → string (optional)
└── send_message → BotInlineMessage
│ ├── invert_media → true (optional)
│ ├── message → string
│ ├── entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityMention
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityHashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBotCommand
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUrl
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityEmail
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBold
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityItalic
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCode
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityPre
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── language → string
│ │ ├── MessageEntityTextUrl
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── url → string
│ │ ├── MessageEntityMentionName
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → long
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → InputUser
│ │ │ ├── InputUserEmpty
│ │ │ ├── InputUserSelf
│ │ │ ├── InputUser
│ │ │ └── InputUserFromMessage
│ │ ├── MessageEntityPhone
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUnderline
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityStrike
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBankCard
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntitySpoiler
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCustomEmoji
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── document_id → long
│ │ ├── MessageEntityBlockquote
│ │ │ ├── collapsed → true (optional)
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityFormattedDate
│ │ │ ├── relative → true (optional)
│ │ │ ├── short_time → true (optional)
│ │ │ ├── long_time → true (optional)
│ │ │ ├── short_date → true (optional)
│ │ │ ├── long_date → true (optional)
│ │ │ ├── day_of_week → true (optional)
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── date → int
│ │ ├── MessageEntityDiffInsert
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityDiffReplace
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── old_text → string
│ │ └── MessageEntityDiffDelete
│ │ ├── offset → int
│ │ └── length → int
│ └── 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
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
│ ├── no_webpage → true (optional)
│ ├── invert_media → true (optional)
│ ├── message → string
│ ├── entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityMention
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityHashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBotCommand
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUrl
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityEmail
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBold
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityItalic
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCode
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityPre
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── language → string
│ │ ├── MessageEntityTextUrl
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── url → string
│ │ ├── MessageEntityMentionName
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → long
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → InputUser
│ │ │ ├── InputUserEmpty
│ │ │ ├── InputUserSelf
│ │ │ ├── InputUser
│ │ │ └── InputUserFromMessage
│ │ ├── MessageEntityPhone
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUnderline
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityStrike
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBankCard
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntitySpoiler
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCustomEmoji
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── document_id → long
│ │ ├── MessageEntityBlockquote
│ │ │ ├── collapsed → true (optional)
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityFormattedDate
│ │ │ ├── relative → true (optional)
│ │ │ ├── short_time → true (optional)
│ │ │ ├── long_time → true (optional)
│ │ │ ├── short_date → true (optional)
│ │ │ ├── long_date → true (optional)
│ │ │ ├── day_of_week → true (optional)
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── date → int
│ │ ├── MessageEntityDiffInsert
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityDiffReplace
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── old_text → string
│ │ └── MessageEntityDiffDelete
│ │ ├── offset → int
│ │ └── length → int
│ └── 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
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
│ ├── geo → GeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ │ ├── long → double
│ │ ├── lat → double
│ │ ├── access_hash → long
│ │ └── accuracy_radius → int (optional)
│ ├── heading → int (optional)
│ ├── period → int (optional)
│ ├── proximity_notification_radius → int (optional)
│ └── 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
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
│ ├── geo → GeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ │ ├── long → double
│ │ ├── lat → double
│ │ ├── access_hash → long
│ │ └── accuracy_radius → int (optional)
│ ├── title → string
│ ├── address → string
│ ├── provider → string
│ ├── venue_id → string
│ ├── venue_type → string
│ └── 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
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
│ ├── phone_number → string
│ ├── first_name → string
│ ├── last_name → string
│ ├── vcard → string
│ └── 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
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
│ ├── shipping_address_requested → true (optional)
│ ├── test → true (optional)
│ ├── title → string
│ ├── description → string
│ ├── photo → WebDocument (optional)
│ │ ├── WebDocument
│ │ │ ├── url → string
│ │ │ ├── access_hash → long
│ │ │ ├── size → int
│ │ │ ├── mime_type → string
│ │ │ └── attributes → Vector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ ├── DocumentAttributeVideo
│ │ │ ├── DocumentAttributeAudio
│ │ │ ├── DocumentAttributeFilename
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ └── WebDocumentNoProxy
│ │ ├── url → string
│ │ ├── size → int
│ │ ├── mime_type → string
│ │ └── attributes → Vector < DocumentAttribute >
│ │ ├── DocumentAttributeImageSize
│ │ ├── DocumentAttributeAnimated
│ │ ├── DocumentAttributeSticker
│ │ ├── DocumentAttributeVideo
│ │ ├── DocumentAttributeAudio
│ │ ├── DocumentAttributeFilename
│ ├── currency → string
│ ├── total_amount → long
│ └── 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
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
│ ├── invert_media → true (optional)
│ ├── force_large_media → true (optional)
│ ├── force_small_media → true (optional)
│ ├── manual → true (optional)
│ ├── safe → true (optional)
│ ├── message → string
│ ├── entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityMention
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityHashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBotCommand
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUrl
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityEmail
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBold
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityItalic
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCode
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityPre
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── language → string
│ │ ├── MessageEntityTextUrl
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── url → string
│ │ ├── MessageEntityMentionName
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → long
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── user_id → InputUser
│ │ │ ├── InputUserEmpty
│ │ │ ├── InputUserSelf
│ │ │ ├── InputUser
│ │ │ └── InputUserFromMessage
│ │ ├── MessageEntityPhone
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCashtag
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityUnderline
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityStrike
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityBankCard
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntitySpoiler
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityCustomEmoji
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── document_id → long
│ │ ├── MessageEntityBlockquote
│ │ │ ├── collapsed → true (optional)
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityFormattedDate
│ │ │ ├── relative → true (optional)
│ │ │ ├── short_time → true (optional)
│ │ │ ├── long_time → true (optional)
│ │ │ ├── short_date → true (optional)
│ │ │ ├── long_date → true (optional)
│ │ │ ├── day_of_week → true (optional)
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── date → int
│ │ ├── MessageEntityDiffInsert
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── MessageEntityDiffReplace
│ │ │ ├── offset → int
│ │ │ ├── length → int
│ │ │ └── old_text → string
│ │ └── MessageEntityDiffDelete
│ │ ├── offset → int
│ │ └── length → int
│ ├── url → string
│ └── 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
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
├── 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
│ │ └── placeholder → string (optional)
│ └── ReplyInlineMarkup
│ └── rows → Vector < KeyboardButtonRow >
│ └── KeyboardButtonRow
└── rich_message → RichMessage
└── RichMessage
├── rtl → true (optional)
├── part → 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
│ ├── PageBlockMap
│ ├── PageBlockHeading1
│ ├── PageBlockHeading2
│ ├── PageBlockHeading3
│ ├── PageBlockHeading4
│ ├── PageBlockHeading5
│ ├── PageBlockHeading6
│ ├── PageBlockMath
│ ├── PageBlockThinking
│ ├── InputPageBlockMap
├── photos → Vector < Photo >
│ ├── PhotoEmpty
│ └── Photo
└── documents → Vector < Document >
├── DocumentEmpty
└── Document

Example

BotInlineMediaResult(
    id="text",
    type="text",
    send_message=BotInlineMessageMediaAuto(message="Hello"),
)