Contact

Description

This object represents a phone contact.

Attributes

Name Type Description
phone_number str Contact's phone number
first_name str Contact's first name
last_name Optional[str] Optional. Contact's last name
user_id Optional[int] Optional. Contact's user identifier in Telegram
vcard Optional[str] Optional. Additional data about the contact in the form of a vCard

Location

  • from aiogram.types import Contact
  • from aiogram.api.types import Contact
  • from aiogram.api.types.contact import Contact