Skip to content

GramIO API Reference / gramio/dist / TelegramInlineQueryResultContact

Interface: TelegramInlineQueryResultContact

Defined in: @gramio/types/out/objects.d.ts:6994

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.

Documentation

Properties

PropertyTypeDescriptionDefined in
first_namestringContact's first name@gramio/types/out/objects.d.ts:7010
idstringUnique identifier for this result, 1-64 Bytes@gramio/types/out/objects.d.ts:7002
input_message_content?TelegramInputMessageContentOptional. Content of the message to be sent instead of the contact@gramio/types/out/objects.d.ts:7028
last_name?stringOptional. Contact's last name@gramio/types/out/objects.d.ts:7014
phone_numberstringContact's phone number@gramio/types/out/objects.d.ts:7006
reply_markup?TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; }Optional. Inline keyboard attached to the message@gramio/types/out/objects.d.ts:7022
thumbnail_height?numberOptional. Thumbnail height@gramio/types/out/objects.d.ts:7040
thumbnail_url?stringOptional. Url of the thumbnail for the result@gramio/types/out/objects.d.ts:7032
thumbnail_width?numberOptional. Thumbnail width@gramio/types/out/objects.d.ts:7036
type"contact"Type of the result, must be contact@gramio/types/out/objects.d.ts:6998
vcard?stringOptional. Additional data about the contact in the form of a vCard, 0-2048 bytes@gramio/types/out/objects.d.ts:7018