InlineQueryResultLocation

fun InlineQueryResultLocation(id: String, latitude: Float, longitude: Float, title: String, horizontalAccuracy: Float? = null, livePeriod: Int? = null, heading: Int? = null, proximityAlertRadius: Int? = null, replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, thumbUrl: String? = null, thumbWidth: Int? = null, thumbHeight: Int? = null, type: String)

Parameters

id

Unique identifier for this result, 1-64 Bytes

latitude

Location latitude in degrees

longitude

Location longitude in degrees

title

Location title

horizontalAccuracy

Optional. The radius of uncertainty for the location, measured in meters; 0-1500

livePeriod

Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.

heading

Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.

proximityAlertRadius

Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.

replyMarkup

Optional. Inline keyboard attached to the message

inputMessageContent

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

thumbUrl

Optional. Url of the thumbnail for the result

thumbWidth

Optional. Thumbnail width

thumbHeight

Optional. Thumbnail height

type

Type of the result, must be location