telegram.InputContactMessageContent¶
-
class
telegram.InputContactMessageContent(phone_number, first_name, last_name=None, vcard=None, **kwargs)¶ Bases:
telegram.inline.inputmessagecontent.InputMessageContentRepresents the content of a contact message to be sent as the result of an inline query.
-
phone_number¶ Contact’s phone number.
Type: str
-
first_name¶ Contact’s first name.
Type: str
-
last_name¶ Optional. Contact’s last name.
Type: str
-
vcard¶ Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
Type: str
Parameters: - phone_number (
str) – Contact’s phone number. - first_name (
str) – Contact’s first name. - last_name (
str, optional) – Contact’s last name. - vcard (
str, optional) – Additional data about the contact in the form of a vCard, 0-2048 bytes. - **kwargs (
dict) – Arbitrary keyword arguments.
-