EditChatMessageLiveLocation

@Serializable
data class EditChatMessageLiveLocation(val chatId: ChatIdentifier, val messageId: MessageId, val latitude: Double, val longitude: Double, val livePeriod: Seconds? = null, val horizontalAccuracy: Meters? = null, val heading: Degrees? = null, val proximityAlertRadius: Meters? = null, val businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, val replyMarkup: InlineKeyboardMarkup? = null) : EditChatMessage<LiveLocationContent> , EditReplyMessage, EditLocationMessage

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, messageId: MessageId, latitude: Double, longitude: Double, livePeriod: Seconds? = null, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null)

Properties

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 = "heading")
open override val heading: Degrees? = null
Link copied to clipboard
@SerialName(value = "horizontal_accuracy")
open override val horizontalAccuracy: Meters? = null
Link copied to clipboard
@SerialName(value = "latitude")
open override val latitude: Double
Link copied to clipboard
@SerialName(value = "live_period")
val livePeriod: Seconds? = null
Link copied to clipboard
@SerialName(value = "longitude")
open override val longitude: Double
Link copied to clipboard
@SerialName(value = "message_id")
open override val messageId: MessageId
Link copied to clipboard
@SerialName(value = "proximity_alert_radius")
open override val proximityAlertRadius: Meters? = null
Link copied to clipboard
@SerialName(value = "reply_markup")
open override val replyMarkup: InlineKeyboardMarkup? = null
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<LiveLocationContent>>

Functions

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