Venue

@Serializable
data class Venue(val location: StaticLocation, val title: String, val address: String, val foursquareId: FoursquareId? = null, val foursquareType: FoursquareType? = null, val googlePlaceId: GooglePlaceId? = null, val googlePlaceType: GooglePlaceType? = null) : CommonVenueData, Locationed, ReplyInfo.External.ContentVariant

Constructors

Link copied to clipboard
constructor(location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null)

Properties

Link copied to clipboard
@SerialName(value = "address")
open override val address: String
Link copied to clipboard
@SerialName(value = "foursquare_id")
open override val foursquareId: FoursquareId? = null
Link copied to clipboard
@SerialName(value = "foursquare_type")
open override val foursquareType: FoursquareType? = null
Link copied to clipboard
@SerialName(value = "google_place_id")
open override val googlePlaceId: GooglePlaceId? = null
Link copied to clipboard
@SerialName(value = "google_place_type")
open override val googlePlaceType: GooglePlaceType? = null
Link copied to clipboard
open override val latitude: Double
Link copied to clipboard
@SerialName(value = "location")
val location: StaticLocation
Link copied to clipboard
open override val longitude: Double
Link copied to clipboard
@SerialName(value = "title")
open override val title: String

Functions

Link copied to clipboard
fun Venue.toRequest(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): SendVenue