InlineQueryResultContact¶
- class litegram.types.inline_query_result_contact.InlineQueryResultContact(*, type: Literal[InlineQueryResultType.CONTACT] = InlineQueryResultType.CONTACT, id: str, phone_number: str, first_name: str, last_name: str | None = None, vcard: str | None = None, reply_markup: InlineKeyboardMarkup | None = None, input_message_content: InputMessageContentUnion | None = None, thumbnail_url: str | None = None, thumbnail_width: int | None = None, thumbnail_height: int | None = None, **extra_data: Any)[source]¶
Represents a 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.
Source: https://core.telegram.org/bots/api#inlinequeryresultcontact
- type: Literal[InlineQueryResultType.CONTACT]¶
Type of the result, must be contact
- reply_markup: InlineKeyboardMarkup | None¶
Optional. Inline keyboard attached to the message