InputContactMessageContent#

class aiogram.types.input_contact_message_content.InputContactMessageContent(*, phone_number: str, first_name: str, last_name: Optional[str] = None, vcard: Optional[str] = None, **extra_data: Any)[source]#

Represents the content of a contact message to be sent as the result of an inline query.

Source: https://core.telegram.org/bots/api#inputcontactmessagecontent

phone_number: str#

Contact’s phone number

first_name: str#

Contact’s first name

last_name: Optional[str]#

Optional. Contact’s last name

vcard: Optional[str]#

Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes