SendVenue

data class SendVenue(chatId: ChatIdentifier, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId?, foursquareType: FoursquareType?, googlePlaceId: GooglePlaceId?, googlePlaceType: GooglePlaceType?, disableNotification: Boolean, protectContent: Boolean, replyToMessageId: MessageIdentifier?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?) : SendMessageRequest<ContentMessage<VenueContent>> , PositionedSendMessageRequest<ContentMessage<VenueContent>> , TitledSendMessageRequest<ContentMessage<VenueContent>> , ReplyingMarkupSendMessageRequest<ContentMessage<VenueContent>>

Constructors

SendVenue
Link copied to clipboard
fun SendVenue(chatId: ChatIdentifier, venue: Venue, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)

Functions

method
Link copied to clipboard
open override fun method(): String

Properties

address
Link copied to clipboard
val address: String
allowSendingWithoutReply
Link copied to clipboard
open override val allowSendingWithoutReply: Boolean? = null
chatId
Link copied to clipboard
open override val chatId: ChatIdentifier
disableNotification
Link copied to clipboard
open override val disableNotification: Boolean = false
foursquareId
Link copied to clipboard
val foursquareId: FoursquareId? = null
foursquareType
Link copied to clipboard
val foursquareType: FoursquareType? = null
googlePlaceId
Link copied to clipboard
val googlePlaceId: GooglePlaceId? = null
googlePlaceType
Link copied to clipboard
val googlePlaceType: GooglePlaceType? = null
latitude
Link copied to clipboard
open override val latitude: Double
longitude
Link copied to clipboard
open override val longitude: Double
protectContent
Link copied to clipboard
open override val protectContent: Boolean = false
replyMarkup
Link copied to clipboard
open override val replyMarkup: KeyboardMarkup? = null
replyToMessageId
Link copied to clipboard
open override val replyToMessageId: MessageIdentifier? = null
requestSerializer
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
resultDeserializer
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<VenueContent>>
title
Link copied to clipboard
open override val title: String