class pyrogram.raw.types.InputPhoneContact#

Phone contact.

Constructor of InputContact.

  • Layer: 158

  • ID: F392B7F4

  • client_id (int 64-bit) – An arbitrary 64-bit integer: it should be set, for example, to an incremental number when using contacts.importContacts, in order to retry importing only the contacts that weren’t imported successfully, according to the client_ids returned in contacts.importedContacts.retry_contacts.

  • phone (str) – Phone number.

  • first_name (str) – Contact’s first name.

  • last_name (str) – Contact’s last name.