BotInlineMessage
- class pyrogram.raw.base.BotInlineMessage
Inline message
- Constructors:
This base type has 7 constructors available.
Send whatever media is attached to the botInlineMediaResult
Send a contact
Send a geolocation
Send an invoice
Send a venue
Specifies options that must be used to generate the link preview for the message, or even a standalone link preview without an attached message.
Send a simple text message
TL Schema
Parameter Tree
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│ │ ├──
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 →
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)│ ├──
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 →
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)│ ├──
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│ ├── 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│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ ├── currency →
string│ ├── total_amount →
long│ └── 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)├── 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│ ├── 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 >