messages.BotResults

class pyrogram.raw.types.messages.BotResults

Result of a query to an inline bot

Constructor of BotResults.

Details:
  • Layer: 227

  • ID: E021F2F6

Parameters:
  • query_id (int 64-bit) – Query ID

  • results (List of BotInlineResult) – The results

  • cache_time (int 32-bit) – Caching validity of the results

  • users (List of User) – Users mentioned in the results

  • gallery (bool, optional) – Whether the result is a picture gallery

  • next_offset (str, optional) – The next offset to use when navigating through results

  • switch_pm (InlineBotSwitchPM, optional) – Shown as a button on top of the remaining inline result list; if clicked, redirects the user to a private chat with the bot with the specified start parameter.

  • switch_webview (InlineBotWebView, optional) – Shown as a button on top of the remaining inline result list; if clicked, opens the specified inline mode mini app.

Functions:

This object can be returned by 1 function.

messages.GetInlineBotResults

Query an inline bot

TL Schema

messages.botResults#e021f2f6
flags:#
gallery:flags.0?true
query_id:long
next_offset:flags.1?string
switch_pm:flags.2?InlineBotSwitchPM
switch_webview:flags.3?InlineBotWebView
results:Vector<BotInlineResult>
cache_time:int
users:Vector<User>

= messages.BotResults

Parameter Tree

BotResults
├── gallery → true (optional)
├── query_id → long
├── next_offset → string (optional)
├── switch_pm → InlineBotSwitchPM (optional)
│ └── InlineBotSwitchPM
│ ├── text → string
│ └── start_param → string
├── switch_webview → InlineBotWebView (optional)
│ └── InlineBotWebView
│ ├── text → string
│ └── url → string
├── results → Vector < BotInlineResult >
│ ├── BotInlineResult
│ │ ├── id → string
│ │ ├── type → string
│ │ ├── title → string (optional)
│ │ ├── description → string (optional)
│ │ ├── url → string (optional)
│ │ ├── thumb → 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
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ ├── content → 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
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ └── send_message → BotInlineMessage
│ │ ├── BotInlineMessageMediaAuto
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── message → string
│ │ │ ├── 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
│ │ │ └── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ ├── BotInlineMessageText
│ │ │ ├── no_webpage → true (optional)
│ │ │ ├── invert_media → true (optional)
│ │ │ ├── message → string
│ │ │ ├── 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
│ │ │ └── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ ├── BotInlineMessageMediaGeo
│ │ │ ├── geo → GeoPoint
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── heading → int (optional)
│ │ │ ├── period → int (optional)
│ │ │ ├── proximity_notification_radius → int (optional)
│ │ │ └── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ ├── BotInlineMessageMediaVenue
│ │ │ ├── geo → GeoPoint
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── title → string
│ │ │ ├── address → string
│ │ │ ├── provider → string
│ │ │ ├── venue_id → string
│ │ │ ├── venue_type → string
│ │ │ └── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ │ ├── phone_number → string
│ │ │ ├── first_name → string
│ │ │ ├── last_name → string
│ │ │ ├── vcard → string
│ │ │ └── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ │ ├── shipping_address_requested → true (optional)
│ │ │ ├── test → true (optional)
│ │ │ ├── title → string
│ │ │ ├── description → string
│ │ │ ├── photo → WebDocument (optional)
│ │ │ │ ├── WebDocument
│ │ │ │ └── WebDocumentNoProxy
│ │ │ ├── currency → string
│ │ │ ├── total_amount → long
│ │ │ └── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ │ ├── 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
│ │ │ │ ├── MessageEntityMention
│ │ │ │ ├── MessageEntityHashtag
│ │ │ │ ├── MessageEntityBotCommand
│ │ │ │ ├── MessageEntityUrl
│ │ │ │ ├── MessageEntityEmail
│ │ │ │ ├── MessageEntityBold
│ │ │ │ ├── MessageEntityItalic
│ │ │ │ ├── MessageEntityCode
│ │ │ │ ├── MessageEntityPre
│ │ │ │ ├── MessageEntityTextUrl
│ │ │ │ ├── MessageEntityMentionName
│ │ │ │ ├── InputMessageEntityMentionName
│ │ │ │ ├── MessageEntityPhone
│ │ │ │ ├── MessageEntityCashtag
│ │ │ │ ├── MessageEntityUnderline
│ │ │ │ ├── MessageEntityStrike
│ │ │ │ ├── MessageEntityBankCard
│ │ │ │ ├── MessageEntitySpoiler
│ │ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ ├── MessageEntityBlockquote
│ │ │ │ ├── MessageEntityFormattedDate
│ │ │ │ ├── MessageEntityDiffInsert
│ │ │ │ ├── MessageEntityDiffReplace
│ │ │ │ └── MessageEntityDiffDelete
│ │ │ ├── url → string
│ │ │ └── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ └── BotInlineMessageRichMessage
│ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ └── ReplyInlineMarkup
│ │ └── rich_message → RichMessage
│ │ └── RichMessage
│ └── 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
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ ├── video_sizes → Vector < VideoSize > (optional)
│ │ │ ├── VideoSize
│ │ │ ├── VideoSizeEmojiMarkup
│ │ │ └── VideoSizeStickerMarkup
│ │ └── 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
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ ├── video_thumbs → Vector < VideoSize > (optional)
│ │ │ ├── VideoSize
│ │ │ ├── VideoSizeEmojiMarkup
│ │ │ └── VideoSizeStickerMarkup
│ │ ├── dc_id → int
│ │ └── attributes → Vector < DocumentAttribute >
│ │ ├── DocumentAttributeImageSize
│ │ ├── DocumentAttributeAnimated
│ │ ├── DocumentAttributeSticker
│ │ ├── DocumentAttributeVideo
│ │ ├── DocumentAttributeAudio
│ │ ├── DocumentAttributeFilename
│ ├── title → string (optional)
│ ├── description → string (optional)
│ └── send_message → BotInlineMessage
│ │ ├── invert_media → true (optional)
│ │ ├── message → string
│ │ ├── 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
│ │ └── reply_markup → ReplyMarkup (optional)
│ │ ├── ReplyKeyboardHide
│ │ ├── ReplyKeyboardForceReply
│ │ ├── ReplyKeyboardMarkup
│ │ └── ReplyInlineMarkup
│ ├── BotInlineMessageText
│ │ ├── no_webpage → true (optional)
│ │ ├── invert_media → true (optional)
│ │ ├── message → string
│ │ ├── 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
│ │ └── reply_markup → ReplyMarkup (optional)
│ │ ├── ReplyKeyboardHide
│ │ ├── ReplyKeyboardForceReply
│ │ ├── ReplyKeyboardMarkup
│ │ └── ReplyInlineMarkup
│ │ ├── geo → GeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ ├── heading → int (optional)
│ │ ├── period → int (optional)
│ │ ├── proximity_notification_radius → int (optional)
│ │ └── reply_markup → ReplyMarkup (optional)
│ │ ├── ReplyKeyboardHide
│ │ ├── ReplyKeyboardForceReply
│ │ ├── ReplyKeyboardMarkup
│ │ └── ReplyInlineMarkup
│ │ ├── geo → GeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ ├── title → string
│ │ ├── address → string
│ │ ├── provider → string
│ │ ├── venue_id → string
│ │ ├── venue_type → string
│ │ └── reply_markup → ReplyMarkup (optional)
│ │ ├── ReplyKeyboardHide
│ │ ├── ReplyKeyboardForceReply
│ │ ├── ReplyKeyboardMarkup
│ │ └── ReplyInlineMarkup
│ │ ├── phone_number → string
│ │ ├── first_name → string
│ │ ├── last_name → string
│ │ ├── vcard → string
│ │ └── reply_markup → ReplyMarkup (optional)
│ │ ├── ReplyKeyboardHide
│ │ ├── ReplyKeyboardForceReply
│ │ ├── ReplyKeyboardMarkup
│ │ └── ReplyInlineMarkup
│ │ ├── shipping_address_requested → true (optional)
│ │ ├── test → true (optional)
│ │ ├── title → string
│ │ ├── description → string
│ │ ├── photo → WebDocument (optional)
│ │ │ ├── WebDocument
│ │ │ └── WebDocumentNoProxy
│ │ ├── currency → string
│ │ ├── total_amount → long
│ │ └── reply_markup → ReplyMarkup (optional)
│ │ ├── ReplyKeyboardHide
│ │ ├── ReplyKeyboardForceReply
│ │ ├── ReplyKeyboardMarkup
│ │ └── ReplyInlineMarkup
│ │ ├── 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
│ │ │ ├── MessageEntityMention
│ │ │ ├── MessageEntityHashtag
│ │ │ ├── MessageEntityBotCommand
│ │ │ ├── MessageEntityUrl
│ │ │ ├── MessageEntityEmail
│ │ │ ├── MessageEntityBold
│ │ │ ├── MessageEntityItalic
│ │ │ ├── MessageEntityCode
│ │ │ ├── MessageEntityPre
│ │ │ ├── MessageEntityTextUrl
│ │ │ ├── MessageEntityMentionName
│ │ │ ├── InputMessageEntityMentionName
│ │ │ ├── MessageEntityPhone
│ │ │ ├── MessageEntityCashtag
│ │ │ ├── MessageEntityUnderline
│ │ │ ├── MessageEntityStrike
│ │ │ ├── MessageEntityBankCard
│ │ │ ├── MessageEntitySpoiler
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ ├── MessageEntityBlockquote
│ │ │ ├── MessageEntityFormattedDate
│ │ │ ├── MessageEntityDiffInsert
│ │ │ ├── MessageEntityDiffReplace
│ │ │ └── MessageEntityDiffDelete
│ │ ├── url → string
│ │ └── reply_markup → ReplyMarkup (optional)
│ │ ├── ReplyKeyboardHide
│ │ ├── ReplyKeyboardForceReply
│ │ ├── ReplyKeyboardMarkup
│ │ └── ReplyInlineMarkup
│ ├── reply_markup → ReplyMarkup (optional)
│ │ ├── ReplyKeyboardHide
│ │ ├── ReplyKeyboardForceReply
│ │ ├── ReplyKeyboardMarkup
│ │ └── ReplyInlineMarkup
│ └── rich_message → RichMessage
│ └── RichMessage
├── cache_time → int
└── users → Vector < User >
├── UserEmpty
│ └── id → long
└── User
├── is_self → true (optional)
├── contact → true (optional)
├── mutual_contact → true (optional)
├── deleted → true (optional)
├── bot → true (optional)
├── bot_chat_history → true (optional)
├── bot_nochats → true (optional)
├── verified → true (optional)
├── restricted → true (optional)
├── min → true (optional)
├── bot_inline_geo → true (optional)
├── support → true (optional)
├── scam → true (optional)
├── apply_min_photo → true (optional)
├── fake → true (optional)
├── bot_attach_menu → true (optional)
├── premium → true (optional)
├── attach_menu_enabled → true (optional)
├── bot_can_edit → true (optional)
├── close_friend → true (optional)
├── stories_hidden → true (optional)
├── stories_unavailable → true (optional)
├── contact_require_premium → true (optional)
├── bot_business → true (optional)
├── bot_has_main_app → true (optional)
├── bot_forum_view → true (optional)
├── bot_forum_can_manage_topics → true (optional)
├── bot_can_manage_bots → true (optional)
├── bot_guestchat → true (optional)
├── bot_guard → true (optional)
├── id → long
├── access_hash → long (optional)
├── first_name → string (optional)
├── last_name → string (optional)
├── username → string (optional)
├── phone → string (optional)
├── photo → UserProfilePhoto (optional)
│ ├── UserProfilePhotoEmpty
│ └── UserProfilePhoto
│ ├── has_video → true (optional)
│ ├── personal → true (optional)
│ ├── photo_id → long
│ ├── stripped_thumb → bytes (optional)
│ └── dc_id → int
├── status → UserStatus (optional)
│ ├── UserStatusEmpty
│ ├── UserStatusOnline
│ │ └── expires → int
│ ├── UserStatusOffline
│ │ └── was_online → int
│ ├── UserStatusRecently
│ │ └── by_me → true (optional)
│ ├── UserStatusLastWeek
│ │ └── by_me → true (optional)
│ └── UserStatusLastMonth
│ └── by_me → true (optional)
├── bot_info_version → int (optional)
├── restriction_reason → Vector < RestrictionReason > (optional)
│ └── RestrictionReason
│ ├── platform → string
│ ├── reason → string
│ └── text → string
├── bot_inline_placeholder → string (optional)
├── lang_code → string (optional)
├── emoji_status → EmojiStatus (optional)
│ ├── EmojiStatusEmpty
│ ├── EmojiStatus
│ │ ├── document_id → long
│ │ └── until → int (optional)
│ │ ├── collectible_id → long
│ │ ├── document_id → long
│ │ ├── title → string
│ │ ├── slug → string
│ │ ├── pattern_document_id → long
│ │ ├── center_color → int
│ │ ├── edge_color → int
│ │ ├── pattern_color → int
│ │ ├── text_color → int
│ │ └── until → int (optional)
│ ├── collectible_id → long
│ └── until → int (optional)
├── usernames → Vector < Username > (optional)
│ └── Username
│ ├── editable → true (optional)
│ ├── active → true (optional)
│ └── username → string
├── stories_max_id → RecentStory (optional)
│ └── RecentStory
│ ├── live → true (optional)
│ └── max_id → int (optional)
├── color → PeerColor (optional)
│ ├── PeerColor
│ │ ├── color → int (optional)
│ │ └── background_emoji_id → long (optional)
│ ├── PeerColorCollectible
│ │ ├── collectible_id → long
│ │ ├── gift_emoji_id → long
│ │ ├── background_emoji_id → long
│ │ ├── accent_color → int
│ │ ├── colors → Vector < int >
│ │ ├── dark_accent_color → int (optional)
│ │ └── dark_colors → Vector < int > (optional)
│ └── collectible_id → long
├── profile_color → PeerColor (optional)
│ ├── PeerColor
│ │ ├── color → int (optional)
│ │ └── background_emoji_id → long (optional)
│ ├── PeerColorCollectible
│ │ ├── collectible_id → long
│ │ ├── gift_emoji_id → long
│ │ ├── background_emoji_id → long
│ │ ├── accent_color → int
│ │ ├── colors → Vector < int >
│ │ ├── dark_accent_color → int (optional)
│ │ └── dark_colors → Vector < int > (optional)
│ └── collectible_id → long
├── bot_active_users → int (optional)
├── bot_verification_icon → long (optional)
└── send_paid_messages_stars → long (optional)

Example

BotResults(
    query_id=0,
    results=[
            BotInlineResult(
                id="text",
                type="text",
                send_message=BotInlineMessageMediaAuto(message="Hello")
            )
        ],
    cache_time=0,
    users=[
            UserEmpty(id=0)
        ],
)