Types

Link copied to clipboard
object Companion : KSerializer<SendLocation<*>>
Link copied to clipboard
@Serializable
data class Live(val chatId: ChatIdentifier, val latitude: Double, val longitude: Double, val livePeriod: Seconds = LiveLocation.INDEFINITE_LIVE_PERIOD, val horizontalAccuracy: Meters? = null, val heading: Degrees? = null, val proximityAlertRadius: Meters? = null, val threadId: MessageThreadId? = chatId.threadId, val businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, val disableNotification: Boolean = false, val protectContent: Boolean = false, val allowPaidBroadcast: Boolean = false, val effectId: EffectId? = null, val replyParameters: ReplyParameters? = null, val replyMarkup: KeyboardMarkup? = null) : SendLocation<LiveLocationContent>
Link copied to clipboard
@Serializable
data class Static(val chatId: ChatIdentifier, val latitude: Double, val longitude: Double, val threadId: MessageThreadId? = chatId.threadId, val businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, val disableNotification: Boolean = false, val protectContent: Boolean = false, val allowPaidBroadcast: Boolean = false, val effectId: EffectId? = null, val replyParameters: ReplyParameters? = null, val replyMarkup: KeyboardMarkup? = null) : SendLocation<StaticLocationContent>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract override val chatId: ChatIdentifier
Link copied to clipboard
Link copied to clipboard
abstract val effectId: EffectId?
Link copied to clipboard
abstract val heading: Degrees?
Link copied to clipboard
abstract val horizontalAccuracy: Meters?
Link copied to clipboard
abstract val latitude: Double
Link copied to clipboard
abstract val livePeriod: Seconds?

Period in Seconds

Link copied to clipboard
abstract val longitude: Double
Link copied to clipboard
abstract val protectContent: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
abstract val resultDeserializer: DeserializationStrategy<ContentMessage<T>>
Link copied to clipboard
abstract val threadId: MessageThreadId?

Functions

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