InlineQueryResultVenue

data class InlineQueryResultVenue(id: String, latitude: Float, longitude: Float, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?, replyMarkup: InlineKeyboardMarkup?, inputMessageContent: InputMessageContent?, thumbUrl: String?, thumbWidth: Int?, thumbHeight: Int?, type: String) : 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.

Parameters

id

Unique identifier for this result, 1-64 Bytes

latitude

Latitude of the venue location in degrees

longitude

Longitude of the venue location in degrees

title

Title of the venue

address

Address of the venue

foursquareId

Optional. Foursquare identifier of the venue if known

foursquareType

Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)

googlePlaceId

Optional. Google Places identifier of the venue

googlePlaceType

Optional. Google Places type of the venue. (See supported types.)

replyMarkup

Optional. Inline keyboard attached to the message

inputMessageContent

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

thumbUrl

Optional. Url of the thumbnail for the result

thumbWidth

Optional. Thumbnail width

thumbHeight

Optional. Thumbnail height

type

Type of the result, must be venue

Constructors

InlineQueryResultVenue
Link copied to clipboard
common
fun InlineQueryResultVenue(id: String, latitude: Float, longitude: Float, title: String, address: String, foursquareId: String? = null, foursquareType: String? = null, googlePlaceId: String? = null, googlePlaceType: String? = null, replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, thumbUrl: String? = null, thumbWidth: Int? = null, thumbHeight: Int? = null, type: String)
Unique identifier for this result, 1-64 Bytes

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component10
Link copied to clipboard
common
operator fun component10(): InlineKeyboardMarkup?
component11
Link copied to clipboard
common
operator fun component11(): InputMessageContent?
component12
Link copied to clipboard
common
operator fun component12(): String?
component13
Link copied to clipboard
common
operator fun component13(): Int?
component14
Link copied to clipboard
common
operator fun component14(): Int?
component15
Link copied to clipboard
common
operator fun component15(): String
component2
Link copied to clipboard
common
operator fun component2(): Float
component3
Link copied to clipboard
common
operator fun component3(): Float
component4
Link copied to clipboard
common
operator fun component4(): String
component5
Link copied to clipboard
common
operator fun component5(): String
component6
Link copied to clipboard
common
operator fun component6(): String?
component7
Link copied to clipboard
common
operator fun component7(): String?
component8
Link copied to clipboard
common
operator fun component8(): String?
component9
Link copied to clipboard
common
operator fun component9(): String?
copy
Link copied to clipboard
common
fun copy(id: String, latitude: Float, longitude: Float, title: String, address: String, foursquareId: String? = null, foursquareType: String? = null, googlePlaceId: String? = null, googlePlaceType: String? = null, replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, thumbUrl: String? = null, thumbWidth: Int? = null, thumbHeight: Int? = null, type: String): InlineQueryResultVenue
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

address
Link copied to clipboard
common
val address: String
Address of the venue
foursquareId
Link copied to clipboard
common
val foursquareId: String? = null
Optional.
foursquareType
Link copied to clipboard
common
val foursquareType: String? = null
Optional.
googlePlaceId
Link copied to clipboard
common
val googlePlaceId: String? = null
Optional.
googlePlaceType
Link copied to clipboard
common
val googlePlaceType: String? = null
Optional.
id
Link copied to clipboard
common
val id: String
Unique identifier for this result, 1-64 Bytes
inputMessageContent
Link copied to clipboard
common
val inputMessageContent: InputMessageContent? = null
Optional.
latitude
Link copied to clipboard
common
val latitude: Float
Latitude of the venue location in degrees
longitude
Link copied to clipboard
common
val longitude: Float
Longitude of the venue location in degrees
replyMarkup
Link copied to clipboard
common
val replyMarkup: InlineKeyboardMarkup? = null
Optional.
thumbHeight
Link copied to clipboard
common
val thumbHeight: Int? = null
Optional.
thumbUrl
Link copied to clipboard
common
val thumbUrl: String? = null
Optional.
thumbWidth
Link copied to clipboard
common
val thumbWidth: Int? = null
Optional.
title
Link copied to clipboard
common
val title: String
Title of the venue
type
Link copied to clipboard
common
val type: String
Type of the result, must be venue