InputPhoneContact

class pyrogram.raw.types.InputPhoneContact

Phone contact. The client_id is just an arbitrary contact ID: 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.

Constructor type of InputContact.

Details
  • Layer: 126

  • ID: 0xf392b7f4

Parameters
  • client_id (int 64-bit) – User identifier on the client.

  • phone (str) – Phone number.

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

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