Interface InputInlineQueryResultContact

Represents a user contact. Subtype of InputInlineQueryResult.

interface InputInlineQueryResultContact {
    @type: "inputInlineQueryResultContact";
    contact: Contact;
    id: string;
    input_message_content: InputMessageContent;
    reply_markup: ReplyMarkup;
    thumbnail_height: number;
    thumbnail_url: string;
    thumbnail_width: number;
}

Properties

@type: "inputInlineQueryResultContact"
contact: Contact

User contact.

id: string

Unique identifier of the query result.

input_message_content: InputMessageContent

The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.

reply_markup: ReplyMarkup

The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.

thumbnail_height: number

Thumbnail height, if known.

thumbnail_url: string

URL of the result thumbnail, if it exists.

thumbnail_width: number

Thumbnail width, if known.