SendVenue

@Serializable
data class SendVenue(val chatId: ChatIdentifier, val latitude: Double, val longitude: Double, val title: String, val address: String, val foursquareId: FoursquareId? = null, val foursquareType: FoursquareType? = null, val googlePlaceId: GooglePlaceId? = null, val googlePlaceType: GooglePlaceType? = null, val threadId: MessageThreadId? = chatId.threadId, val businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, val disableNotification: Boolean = false, val protectContent: Boolean = false, val effectId: EffectId? = null, val replyParameters: ReplyParameters? = null, val replyMarkup: KeyboardMarkup? = null) : SendContentMessageRequest<ContentMessage<VenueContent>> , PositionedSendMessageRequest<ContentMessage<VenueContent>> , TitledSendMessageRequest<ContentMessage<VenueContent>> , ReplyingMarkupSendMessageRequest<ContentMessage<VenueContent>>

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, venue: Venue, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null)
constructor(chatId: ChatIdentifier, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null)

Properties

Link copied to clipboard
@SerialName(value = "address")
val address: String
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "business_connection_id")
open override val businessConnectionId: BusinessConnectionId?
Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "disable_notification")
open override val disableNotification: Boolean = false
Link copied to clipboard
@SerialName(value = "message_effect_id")
open override val effectId: EffectId? = null
Link copied to clipboard
@SerialName(value = "foursquare_id")
val foursquareId: FoursquareId? = null
Link copied to clipboard
@SerialName(value = "foursquare_type")
val foursquareType: FoursquareType? = null
Link copied to clipboard
@SerialName(value = "google_place_id")
val googlePlaceId: GooglePlaceId? = null
Link copied to clipboard
@SerialName(value = "google_place_type")
val googlePlaceType: GooglePlaceType? = null
Link copied to clipboard
@SerialName(value = "latitude")
open override val latitude: Double
Link copied to clipboard
@SerialName(value = "longitude")
open override val longitude: Double
Link copied to clipboard
@SerialName(value = "protect_content")
open override val protectContent: Boolean = false
Link copied to clipboard
@SerialName(value = "reply_markup")
open override val replyMarkup: KeyboardMarkup? = null
Link copied to clipboard
@SerialName(value = "reply_parameters")
open override val replyParameters: ReplyParameters? = null
Link copied to clipboard
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<VenueContent>>
Link copied to clipboard
@SerialName(value = "message_thread_id")
open override val threadId: MessageThreadId?
Link copied to clipboard
@SerialName(value = "title")
open override val title: String

Functions

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