GramIO API Reference / gramio/dist / TelegramInlineQueryResultContact
Interface: TelegramInlineQueryResultContact
Defined in: @gramio/types/out/objects.d.ts:9711
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.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
first_name | string | Contact's first name | @gramio/types/out/objects.d.ts:9727 |
id | string | Unique identifier for this result, 1-64 Bytes | @gramio/types/out/objects.d.ts:9719 |
input_message_content? | TelegramInputMessageContent | Optional. Content of the message to be sent instead of the contact | @gramio/types/out/objects.d.ts:9745 |
last_name? | string | Optional. Contact's last name | @gramio/types/out/objects.d.ts:9731 |
phone_number | string | Contact's phone number | @gramio/types/out/objects.d.ts:9723 |
reply_markup? | TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; } | Optional. Inline keyboard attached to the message | @gramio/types/out/objects.d.ts:9739 |
thumbnail_height? | number | Optional. Thumbnail height | @gramio/types/out/objects.d.ts:9757 |
thumbnail_url? | string | Optional. Url of the thumbnail for the result | @gramio/types/out/objects.d.ts:9749 |
thumbnail_width? | number | Optional. Thumbnail width | @gramio/types/out/objects.d.ts:9753 |
type | "contact" | Type of the result, must be contact | @gramio/types/out/objects.d.ts:9715 |
vcard? | string | Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes | @gramio/types/out/objects.d.ts:9735 |