InlineQueryResultContact¶
- class pyrogram.types.InlineQueryResultContact¶
Contact with a phone number.
By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.
- Parameters:¶
phone_number (``str``) – Phone number of the user.
first_name (``str``) – First name of the user; 1-64 characters.
last_name (``str``, *optional*) – Last name of the user; 0-64 characters.
vcard (``str``, *optional*) – Additional data about the user in a form of vCard; 0-2048 bytes in length.
id (``str``, *optional*) – Unique identifier for this result, 1-64 bytes. Defaults to a randomly generated UUID4.
reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup`, *optional*) – Inline keyboard attached to the message.
input_message_content (:obj:`~pyrogram.types.InputMessageContent`, *optional*) – Content of the message to be sent instead of the contact.
thumbnail_url (``str``, *optional*) – Url of the thumbnail for the result.
thumbnail_width (``int``, *optional*) – Thumbnail width.
thumbnail_height (``int``, *optional*) – Thumbnail height.