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 disableNotification: Boolean = false, val protectContent: Boolean = false, val replyToMessageId: MessageId? = null, val allowSendingWithoutReply: Boolean? = null, val replyMarkup: KeyboardMarkup? = null) : SendMessageRequest<ContentMessage<VenueContent>> , PositionedSendMessageRequest<ContentMessage<VenueContent>> , TitledSendMessageRequest<ContentMessage<VenueContent>> , ReplyingMarkupSendMessageRequest<ContentMessage<VenueContent>>

Constructors

Link copied to clipboard
fun SendVenue(chatId: ChatIdentifier, venue: Venue, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)
Link copied to clipboard
fun SendVenue(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, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)

Functions

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

Properties

Link copied to clipboard
Link copied to clipboard
open override val allowSendingWithoutReply: Boolean? = null
Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
open override val disableNotification: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val latitude: Double
Link copied to clipboard
open override val longitude: Double
Link copied to clipboard
open override val protectContent: Boolean = false
Link copied to clipboard
open override val replyMarkup: KeyboardMarkup? = null
Link copied to clipboard
open override val replyToMessageId: MessageId? = null
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<VenueContent>>
Link copied to clipboard
open override val threadId: MessageThreadId?
Link copied to clipboard
open override val title: String