InputPhoneContact

class pyrogram.types.InputPhoneContact

A Phone Contact to be added to your Telegram address book.

Intended to be used with add_contacts().

Parameters:
  • phone (str) – Contact’s phone number

  • first_name (str) – Contact’s first name

  • last_name (str, optional) – Contact’s last name