Contact

class ftmgram.types.Contact(*, client: Client = None, phone_number: str, first_name: str, last_name: str = None, user_id: int = None, vcard: str = None)

A phone contact.

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

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

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

  • user_id (int, optional) – Contact’s user identifier in Telegram.

  • vcard (str, optional) – Additional data about the contact in the form of a vCard.