InputBotInlineMessageText
- class pyrogram.raw.types.InputBotInlineMessageText
Simple text message
Constructor of
InputBotInlineMessage.- Details:
Layer:
223ID:
3DCD7A87
- Parameters:
message (
str) – Messageno_webpage (
bool, optional) – Disable webpage previewinvert_media (
bool, optional) – If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.entities (List of
MessageEntity, optional) – Message entities for styled textreply_markup (
ReplyMarkup, optional) – Inline keyboard
TL Schema
inputBotInlineMessageText#3dcd7a87
flags:#
no_webpage:flags.0?true
invert_media:flags.3?true
message:string
entities:flags.1?Vector<MessageEntity>
reply_markup:flags.2?ReplyMarkup
= InputBotInlineMessage
Parameter Tree
InputBotInlineMessageText
├── 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│ ├── 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)│ └── 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│ │ └── buttons →
Vector < KeyboardButton >│ │ ├──
KeyboardButton│ │ ├──
KeyboardButtonUrl│ │ ├──
KeyboardButtonCallback│ │ ├──
KeyboardButtonRequestPhone│ │ ├──
KeyboardButtonRequestGeoLocation│ │ ├──
KeyboardButtonSwitchInline│ │ ├──
KeyboardButtonGame│ │ ├──
KeyboardButtonBuy│ │ ├──
KeyboardButtonUrlAuth│ │ ├──
InputKeyboardButtonUrlAuth│ │ ├──
KeyboardButtonRequestPoll│ │ ├──
InputKeyboardButtonUserProfile│ │ ├──
KeyboardButtonUserProfile│ │ ├──
KeyboardButtonWebView│ │ ├──
KeyboardButtonSimpleWebView│ │ ├──
KeyboardButtonRequestPeer│ │ ├──
InputKeyboardButtonRequestPeer│ │ └──
KeyboardButtonCopy│ └── placeholder →
string (optional)└── rows →
Vector < KeyboardButtonRow >└── buttons →
Vector < KeyboardButton >├──
KeyboardButtonExample
InputBotInlineMessageText(
message="Hello",
)