Interface InputInlineQueryResultLocation

Represents a point on the map. Subtype of InputInlineQueryResult.

interface InputInlineQueryResultLocation {
    @type: "inputInlineQueryResultLocation";
    id: string;
    input_message_content: InputMessageContent;
    live_period: number;
    location: Location;
    reply_markup: ReplyMarkup;
    thumbnail_height: number;
    thumbnail_url: string;
    thumbnail_width: number;
    title: string;
}

Properties

@type: "inputInlineQueryResultLocation"
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.

live_period: number

Amount of time relative to the message sent time until the location can be updated, in seconds.

location: Location

Location result.

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.

title: string

Title of the result.