Contact¶
- class pyrogram.types.Contact¶
A phone contact.
- Parameters:¶
phone_number (``str``) – Phone number of the user.
first_name (``str``) – First name of the user; 1-64 characters.
last_name (``str``, *optional*) – Last name of the user; 0-64 characters.
user_id (``int``, *optional*) – Contact’s user identifier in Telegram.
vcard (``str``, *optional*) – Additional data about the user in a form of vCard; 0-2048 bytes in length.