class hydrogram.types.InlineQueryResultContact[source]

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.

  • 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.

  • id (str, optional) – Unique identifier for this result, 1-64 bytes. Defaults to a randomly generated UUID4.

  • reply_markup (InlineKeyboardMarkup, optional) – Inline keyboard attached to the message.

  • input_message_content (InputMessageContent, optional) – Content of the message to be sent instead of the contact.

  • thumb_url (str, optional) – Url of the thumbnail for the result.

  • thumb_width (int, optional) – Thumbnail width.

  • thumb_height (int, optional) – Thumbnail height.