telegramx.js

InlineQueryResultContact

interface

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.

Declaration

interface InlineQueryResultContact 

Properties

first_nameproperty#
first_name: string;

Contact's first name

idproperty#
id: string;

Unique identifier for this result, 1-64 Bytes

input_message_content?: InputMessageContent;

Optional. Content of the message to be sent instead of the contact

last_nameproperty#
last_name?: string;

Optional. Contact's last name

phone_number: string;

Contact's phone number

reply_markup?: InlineKeyboardMarkup;

Optional. Inline keyboard attached to the message

thumbnail_height?: number;

Optional. Thumbnail height

thumbnail_url?: string;

Optional. Url of the thumbnail for the result

thumbnail_width?: number;

Optional. Thumbnail width

typeproperty#
type: 'contact';

Type of the result, must be contact

vcardproperty#
vcard?: string;

Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes