BotInlineMessageMediaContact
- class pyrogram.raw.types.BotInlineMessageMediaContact
Send a contact
Constructor of
BotInlineMessage.- Details:
Layer:
223ID:
18D1CDC2
- Parameters:
phone_number (
str) – Phone numberfirst_name (
str) – First namelast_name (
str) – Last namevcard (
str) – VCard inforeply_markup (
ReplyMarkup, optional) – Inline keyboard
TL Schema
botInlineMessageMediaContact#18d1cdc2
flags:#
phone_number:string
first_name:string
last_name:string
vcard:string
reply_markup:flags.2?ReplyMarkup
= BotInlineMessage
Parameter Tree
BotInlineMessageMediaContact
├── phone_number →
string├── first_name →
string├── last_name →
string├── vcard →
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│ │ └── 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
BotInlineMessageMediaContact(
phone_number="text",
first_name="text",
last_name="text",
vcard="text",
)