Live
@Serializable
Constructors
Link copied to clipboard
constructor(chatId: ChatIdentifier, latitude: Double, longitude: Double, livePeriod: Seconds = LiveLocation.INDEFINITE_LIVE_PERIOD, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, threadId: MessageThreadId? = chatId.threadId, directMessageThreadId: DirectMessageThreadId? = chatId.directMessageThreadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, receiverUserId: UserId? = chatId.receiverUser, callbackQueryId: CallbackQueryId? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "business_connection_id" )
@EncodeDefault
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@EncodeDefault
@SerialName(value = "direct_messages_topic_id" )
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
According to Telegram Bots API, must be 0 when sending as an ephemeral message (with receiverUserId set), as ephemeral messages do not support live location updates. Prefer Static for ephemeral locations.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ChatContentMessage<LiveLocationContent>>
Link copied to clipboard
@SerialName(value = "suggested_post_parameters" )
Link copied to clipboard