Venue

data class Venue(location: Location, title: String, address: String, foursquare_id: String?, foursquare_type: String?, google_place_id: String?, google_place_type: String?) : TelegramModel

This object represents a venue.

Constructors

Venue
Link copied to clipboard
fun Venue(location: Location, title: String, address: String, foursquare_id: String? = null, foursquare_type: String? = null, google_place_id: String? = null, google_place_type: String? = null)
Creates a Venue.

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.
location
Link copied to clipboard
val location: Location
Venue location.
title
Link copied to clipboard
val title: String
Name of the venue