InputBotInlineResult
- class pyrogram.raw.base.InputBotInlineResult
Inline bot result
- Constructors:
This base type has 4 constructors available.
An inline bot result
Document (media of any type except for photos)
Game
Photo
TL Schema
inputBotInlineResult#88bf9319
flags:#
id:string
type:string
title:flags.1?string
description:flags.2?string
url:flags.3?string
thumb:flags.4?InputWebDocument
content:flags.5?InputWebDocument
send_message:InputBotInlineMessage
= InputBotInlineResult
Parameter Tree
InputBotInlineResult
├── id →
string├── type →
string├── title →
string (optional)├── description →
string (optional)├── url →
string (optional)├── thumb →
InputWebDocument (optional)│ └──
InputWebDocument│ ├── url →
string│ ├── size →
int│ ├── mime_type →
string│ └── attributes →
Vector < DocumentAttribute >│ │ ├── w →
int│ │ └── h →
int│ ├──
DocumentAttributeSticker│ │ ├── mask →
true (optional)│ │ ├── alt →
string│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ └── mask_coords →
MaskCoords (optional)│ │ └──
MaskCoords│ ├──
DocumentAttributeVideo│ │ ├── round_message →
true (optional)│ │ ├── supports_streaming →
true (optional)│ │ ├── nosound →
true (optional)│ │ ├── duration →
double│ │ ├── w →
int│ │ ├── h →
int│ │ ├── preload_prefix_size →
int (optional)│ │ ├── video_start_ts →
double (optional)│ │ └── video_codec →
string (optional)│ ├──
DocumentAttributeAudio│ │ ├── voice →
true (optional)│ │ ├── duration →
int│ │ ├── title →
string (optional)│ │ ├── performer →
string (optional)│ │ └── waveform →
bytes (optional)│ │ └── file_name →
string│ ├── free →
true (optional)│ ├── text_color →
true (optional)│ ├── alt →
string│ └── stickerset →
InputStickerSet│ ├──
InputStickerSetEmpty│ ├──
InputStickerSetID│ ├──
InputStickerSetShortName│ ├──
InputStickerSetDice│ └──
InputStickerSetTonGifts├── content →
InputWebDocument (optional)│ └──
InputWebDocument│ ├── url →
string│ ├── size →
int│ ├── mime_type →
string│ └── attributes →
Vector < DocumentAttribute >│ │ ├── w →
int│ │ └── h →
int│ ├──
DocumentAttributeSticker│ │ ├── mask →
true (optional)│ │ ├── alt →
string│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ └── mask_coords →
MaskCoords (optional)│ │ └──
MaskCoords│ ├──
DocumentAttributeVideo│ │ ├── round_message →
true (optional)│ │ ├── supports_streaming →
true (optional)│ │ ├── nosound →
true (optional)│ │ ├── duration →
double│ │ ├── w →
int│ │ ├── h →
int│ │ ├── preload_prefix_size →
int (optional)│ │ ├── video_start_ts →
double (optional)│ │ └── video_codec →
string (optional)│ ├──
DocumentAttributeAudio│ │ ├── voice →
true (optional)│ │ ├── duration →
int│ │ ├── title →
string (optional)│ │ ├── performer →
string (optional)│ │ └── waveform →
bytes (optional)│ │ └── file_name →
string│ ├── free →
true (optional)│ ├── text_color →
true (optional)│ ├── alt →
string│ └── stickerset →
InputStickerSet│ ├──
InputStickerSetEmpty│ ├──
InputStickerSetID│ ├──
InputStickerSetShortName│ ├──
InputStickerSetDice│ └──
InputStickerSetTonGifts└── send_message →
InputBotInlineMessage│ ├── 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│ │ ├──
InputMessageEntityMentionName│ │ │ ├── offset →
int│ │ │ ├── length →
int│ │ │ └── user_id →
InputUser│ │ │ ├──
InputUserEmpty│ │ │ ├──
InputUserSelf│ │ │ ├──
InputUser│ │ │ └──
InputUserFromMessage│ │ ├──
MessageEntityPhone│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityCashtag│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityUnderline│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityStrike│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityBankCard│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntitySpoiler│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityCustomEmoji│ │ │ ├── offset →
int│ │ │ ├── length →
int│ │ │ └── document_id →
long│ │ ├──
MessageEntityBlockquote│ │ │ ├── collapsed →
true (optional)│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ └──
MessageEntityFormattedDate│ │ ├── relative →
true (optional)│ │ ├── short_time →
true (optional)│ │ ├── long_time →
true (optional)│ │ ├── short_date →
true (optional)│ │ ├── long_date →
true (optional)│ │ ├── day_of_week →
true (optional)│ │ ├── offset →
int│ │ ├── length →
int│ │ └── date →
int│ └── reply_markup →
ReplyMarkup (optional)│ ├──
ReplyKeyboardHide│ │ └── selective →
true (optional)│ ├──
ReplyKeyboardForceReply│ │ ├── 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│ │ ├──
InputMessageEntityMentionName│ │ │ ├── offset →
int│ │ │ ├── length →
int│ │ │ └── user_id →
InputUser│ │ │ ├──
InputUserEmpty│ │ │ ├──
InputUserSelf│ │ │ ├──
InputUser│ │ │ └──
InputUserFromMessage│ │ ├──
MessageEntityPhone│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityCashtag│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityUnderline│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityStrike│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityBankCard│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntitySpoiler│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ ├──
MessageEntityCustomEmoji│ │ │ ├── offset →
int│ │ │ ├── length →
int│ │ │ └── document_id →
long│ │ ├──
MessageEntityBlockquote│ │ │ ├── collapsed →
true (optional)│ │ │ ├── offset →
int│ │ │ └── length →
int│ │ └──
MessageEntityFormattedDate│ │ ├── relative →
true (optional)│ │ ├── short_time →
true (optional)│ │ ├── long_time →
true (optional)│ │ ├── short_date →
true (optional)│ │ ├── long_date →
true (optional)│ │ ├── day_of_week →
true (optional)│ │ ├── offset →
int│ │ ├── length →
int│ │ └── date →
int│ └── reply_markup →
ReplyMarkup (optional)│ ├──
ReplyKeyboardHide│ │ └── selective →
true (optional)│ ├──
ReplyKeyboardForceReply│ │ ├── 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_point →
InputGeoPoint│ │ ├──
InputGeoPointEmpty│ │ └──
InputGeoPoint│ │ ├── lat →
double│ │ ├── long →
double│ │ └── accuracy_radius →
int (optional)│ ├── heading →
int (optional)│ ├── period →
int (optional)│ ├── proximity_notification_radius →
int (optional)│ └── reply_markup →
ReplyMarkup (optional)│ ├──
ReplyKeyboardHide│ │ └── selective →
true (optional)│ ├──
ReplyKeyboardForceReply│ │ ├── 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_point →
InputGeoPoint│ │ ├──
InputGeoPointEmpty│ │ └──
InputGeoPoint│ │ ├── lat →
double│ │ ├── long →
double│ │ └── accuracy_radius →
int (optional)│ ├── title →
string│ ├── address →
string│ ├── provider →
string│ ├── venue_id →
string│ ├── venue_type →
string│ └── reply_markup →
ReplyMarkup (optional)│ ├──
ReplyKeyboardHide│ │ └── selective →
true (optional)│ ├──
ReplyKeyboardForceReply│ │ ├── 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)│ ├──
ReplyKeyboardForceReply│ │ ├── 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)│ ├──
ReplyKeyboardForceReply│ │ ├── 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│ ├── title →
string│ ├── description →
string│ ├── photo →
InputWebDocument (optional)│ │ └──
InputWebDocument│ │ ├── url →
string│ │ ├── size →
int│ │ ├── mime_type →
string│ │ └── attributes →
Vector < DocumentAttribute >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ ├── invoice →
Invoice│ │ └──
Invoice│ │ ├── test →
true (optional)│ │ ├── name_requested →
true (optional)│ │ ├── phone_requested →
true (optional)│ │ ├── email_requested →
true (optional)│ │ ├── shipping_address_requested →
true (optional)│ │ ├── flexible →
true (optional)│ │ ├── phone_to_provider →
true (optional)│ │ ├── email_to_provider →
true (optional)│ │ ├── recurring →
true (optional)│ │ ├── currency →
string│ │ ├── prices →
Vector < LabeledPrice >│ │ │ └──
LabeledPrice│ │ ├── max_tip_amount →
long (optional)│ │ ├── suggested_tip_amounts →
Vector < long > (optional)│ │ ├── terms_url →
string (optional)│ │ └── subscription_period →
int (optional)│ ├── payload →
bytes│ ├── provider →
string│ ├── provider_data →
DataJSON│ │ └──
DataJSON│ │ └── data →
string│ └── reply_markup →
ReplyMarkup (optional)│ ├──
ReplyKeyboardHide│ │ └── selective →
true (optional)│ ├──
ReplyKeyboardForceReply│ │ ├── 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)├── optional →
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│ ├── 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├── url →
string└── reply_markup →
ReplyMarkup (optional)│ └── selective →
true (optional)│ ├── single_use →
true (optional)│ ├── selective →
true (optional)│ └── placeholder →
string (optional)│ ├── resize →
true (optional)│ ├── single_use →
true (optional)│ ├── selective →
true (optional)│ ├── persistent →
true (optional)│ ├── rows →
Vector < KeyboardButtonRow >│ │ └──
KeyboardButtonRow│ └── placeholder →
string (optional)└── rows →
Vector < KeyboardButtonRow >Example
InputBotInlineResult(
id="text",
type="text",
title="text",
description="text",
url="https://google.com",
thumb=InputWebDocument(
url="https://google.com",
size=0,
mime_type="text",
attributes=[
DocumentAttributeImageSize(
w=0,
h=0
)
]
),
content=InputWebDocument(
url="https://google.com",
size=0,
mime_type="text",
attributes=[
DocumentAttributeImageSize(
w=0,
h=0
)
]
),
send_message=InputBotInlineMessageMediaAuto(
invert_media=None,
message="Hello",
entities=None,
reply_markup=None
),
)