InlineQueryResultContact
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
type
ts
type: "contact";
Type of the result, must be contact
id
ts
id: string;
Unique identifier for this result, 1-64 Bytes
phone_number
ts
phone_number: string;
Contact’s phone number
first_name
ts
first_name: string;
Contact’s first name
last_name
ts
last_name?: string;
Contact’s last name
vcard
ts
vcard?: string;
Additional data about the contact in the form of a vCard, 0-2048 bytes
reply_markup
ts
reply_markup?: InlineKeyboardMarkup;
Inline keyboard attached to the message
input_message_content
ts
input_message_content?: InputMessageContent;
Content of the message to be sent instead of the contact
thumbnail_url
ts
thumbnail_url?: string;
Url of the thumbnail for the result
thumbnail_width
ts
thumbnail_width?: number;
Thumbnail width
thumbnail_height
ts
thumbnail_height?: number;
Thumbnail height