InlineQueryResultVenue

data class InlineQueryResultVenue(type: String, id: String, latitude: Float, longitude: Float, title: String, address: String, foursquare_id: String?, foursquare_type: String?, google_place_id: String?, google_place_type: String?, reply_markup: InlineKeyboardMarkup?, input_message_content: InputMessageContent?, thumb_url: String?, thumb_width: Long?, thumb_height: Long?) : InlineQueryResult

Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.

Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.

Constructors

InlineQueryResultVenue
Link copied to clipboard
fun InlineQueryResultVenue(type: String, id: String, latitude: Float, longitude: Float, title: String, address: String, foursquare_id: String? = null, foursquare_type: String? = null, google_place_id: String? = null, google_place_type: String? = null, reply_markup: InlineKeyboardMarkup? = null, input_message_content: InputMessageContent? = null, thumb_url: String? = null, thumb_width: Long? = null, thumb_height: Long? = null)

Properties

address
Link copied to clipboard
val address: String
Address of the venue
foursquare_id
Link copied to clipboard
val foursquare_id: String? = null
Optional.
foursquare_type
Link copied to clipboard
val foursquare_type: String? = null
Optional.
google_place_id
Link copied to clipboard
val google_place_id: String? = null
Optional.
google_place_type
Link copied to clipboard
val google_place_type: String? = null
Optional.
id
Link copied to clipboard
val id: String
Unique identifier for this result, 1-64 Bytes
input_message_content
Link copied to clipboard
val input_message_content: InputMessageContent? = null
Optional.
latitude
Link copied to clipboard
val latitude: Float
Latitude of the venue location in degrees
longitude
Link copied to clipboard
val longitude: Float
Longitude of the venue location in degrees
reply_markup
Link copied to clipboard
val reply_markup: InlineKeyboardMarkup? = null
Optional.
thumb_height
Link copied to clipboard
val thumb_height: Long? = null
Optional.
thumb_url
Link copied to clipboard
val thumb_url: String? = null
Optional.
thumb_width
Link copied to clipboard
val thumb_width: Long? = null
Optional.
title
Link copied to clipboard
val title: String
Title of the venue
type
Link copied to clipboard
val type: String
Type of the result, must be venue