InputPhoneContact#

class pyrogram.raw.types.InputPhoneContact#

Phone contact.

Constructor of InputContact.

Details:
  • Layer: 220

  • ID: 6A1DC4BE

Parameters:
  • 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

  • note (TextWithEntities, optional) – N/A