InputBotInlineMessageMediaContact

class pyrogram.raw.types.InputBotInlineMessageMediaContact

A contact

Constructor of InputBotInlineMessage.

Details:
  • Layer: 227

  • ID: A6EDBFFD

Parameters:
  • phone_number (str) – Phone number

  • first_name (str) – First name

  • last_name (str) – Last name

  • vcard (str) – VCard info

  • reply_markup (ReplyMarkup, optional) – Inline keyboard

TL Schema

inputBotInlineMessageMediaContact#a6edbffd
flags:#
phone_number:string
first_name:string
last_name:string
vcard:string
reply_markup:flags.2?ReplyMarkup

= InputBotInlineMessage

Parameter Tree

InputBotInlineMessageMediaContact
├── 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
│ │ ├── KeyboardButtonSwitchInline
│ │ ├── KeyboardButtonGame
│ │ ├── KeyboardButtonBuy
│ │ ├── KeyboardButtonUrlAuth
│ │ ├── InputKeyboardButtonUrlAuth
│ │ ├── KeyboardButtonRequestPoll
│ │ ├── KeyboardButtonUserProfile
│ │ ├── KeyboardButtonWebView
│ │ ├── KeyboardButtonSimpleWebView
│ │ ├── KeyboardButtonRequestPeer
│ │ └── KeyboardButtonCopy
│ └── placeholder → string (optional)

Example

InputBotInlineMessageMediaContact(
    phone_number="text",
    first_name="text",
    last_name="text",
    vcard="text",
)