InputPhoneContact

class pyrogram.InputPhoneContact

A Phone Contact to be added in your Telegram address book. It is 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