InputMediaContact

class pyrogram.raw.types.InputMediaContact

Phone book contact

Constructor of InputMedia.

Details:
  • Layer: 223

  • ID: F8AB7DFB

Parameters:
  • phone_number (str) – Phone number

  • first_name (str) – Contact’s first name

  • last_name (str) – Contact’s last name

  • vcard (str) – Contact vcard

TL Schema

inputMediaContact#f8ab7dfb
phone_number:string
first_name:string
last_name:string
vcard:string

= InputMedia

Parameter Tree

InputMediaContact
├── phone_numberstring
├── first_namestring
├── last_namestring
└── vcardstring

Example

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