InputVenueMessageContent

data class InputVenueMessageContent(latitude: Float, longitude: Float, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?) : InputMessageContent

Represents the content of a venue message to be sent as the result of an inline query.

Parameters

latitude

Latitude of the venue in degrees

longitude

Longitude of the venue in degrees

title

Name 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.)

Constructors

InputVenueMessageContent
Link copied to clipboard
common
fun InputVenueMessageContent(latitude: Float, longitude: Float, title: String, address: String, foursquareId: String? = null, foursquareType: String? = null, googlePlaceId: String? = null, googlePlaceType: String? = null)
Latitude of the venue in degrees

Functions

component1
Link copied to clipboard
common
operator fun component1(): Float
component2
Link copied to clipboard
common
operator fun component2(): Float
component3
Link copied to clipboard
common
operator fun component3(): String
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?
copy
Link copied to clipboard
common
fun copy(latitude: Float, longitude: Float, title: String, address: String, foursquareId: String? = null, foursquareType: String? = null, googlePlaceId: String? = null, googlePlaceType: String? = null): InputVenueMessageContent
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.
latitude
Link copied to clipboard
common
val latitude: Float
Latitude of the venue in degrees
longitude
Link copied to clipboard
common
val longitude: Float
Longitude of the venue in degrees
title
Link copied to clipboard
common
val title: String
Name of the venue