Skip to content

InputInlineQueryResultLocation

Type · TDLib 1.8.67 · d1085f9c

Represents a point on the map

InputInlineQueryResultLocation(
  id: string,
  location: Location,
  live_period: int32,
  title: string,
  thumbnail_url: string,
  thumbnail_width: int32,
  thumbnail_height: int32,
  reply_markup: ReplyMarkup,
  input_message_content: InputMessageContent
) → InputInlineQueryResult

id

string

Unique identifier of the query result

location

Location

Location result

live_period

int32

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

title

string

Title of the result

thumbnail_url

string

URL of the result thumbnail, if it exists

thumbnail_width

int32

Thumbnail width, if known

thumbnail_height

int32

Thumbnail height, if known

reply_markup

ReplyMarkup

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

input_message_content

InputMessageContent

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