BotInlineMessageMediaContact

class pyrogram.raw.types.BotInlineMessageMediaContact

Send a contact

Constructor of BotInlineMessage.

Details:
  • Layer: 223

  • ID: 18D1CDC2

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

botInlineMessageMediaContact#18d1cdc2
flags:#
phone_number:string
first_name:string
last_name:string
vcard:string
reply_markup:flags.2?ReplyMarkup

= BotInlineMessage

Parameter Tree

BotInlineMessageMediaContact
├── phone_numberstring
├── first_namestring
├── last_namestring
├── vcardstring
└── reply_markupReplyMarkup (optional)
│ └── selectivetrue (optional)
│ ├── single_usetrue (optional)
│ ├── selectivetrue (optional)
│ └── placeholderstring (optional)
│ ├── resizetrue (optional)
│ ├── single_usetrue (optional)
│ ├── selectivetrue (optional)
│ ├── persistenttrue (optional)
│ ├── rowsVector < KeyboardButtonRow >
│ │ └── KeyboardButtonRow
│ │ └── buttonsVector < KeyboardButton >
│ │ ├── KeyboardButton
│ │ ├── KeyboardButtonUrl
│ │ ├── KeyboardButtonCallback
│ │ ├── KeyboardButtonRequestPhone
│ │ ├── KeyboardButtonSwitchInline
│ │ ├── KeyboardButtonGame
│ │ ├── KeyboardButtonBuy
│ │ ├── KeyboardButtonUrlAuth
│ │ ├── InputKeyboardButtonUrlAuth
│ │ ├── KeyboardButtonRequestPoll
│ │ ├── KeyboardButtonUserProfile
│ │ ├── KeyboardButtonWebView
│ │ ├── KeyboardButtonSimpleWebView
│ │ ├── KeyboardButtonRequestPeer
│ │ └── KeyboardButtonCopy
│ └── placeholderstring (optional)

Example

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