Send Location Request
data class SendLocationRequest(chat_id: String, latitude: Float, longitude: Float, horizontal_accuracy: Float?, live_period: Long?, heading: Long?, proximity_alert_radius: Long?, disable_notification: Boolean?, reply_to_message_id: Long?, allow_sending_without_reply: Boolean?, reply_markup: KeyboardOption?) : TelegramRequest
Content copied to clipboard
Use this method to send point on the map. On success, the sent Message is returned.
Constructors
SendLocationRequest
Link copied to clipboard
fun SendLocationRequest(chat_id: String, latitude: Float, longitude: Float, horizontal_accuracy: Float? = null, live_period: Long? = null, heading: Long? = null, proximity_alert_radius: Long? = null, disable_notification: Boolean? = null, reply_to_message_id: Long? = null, allow_sending_without_reply: Boolean? = null, reply_markup: KeyboardOption? = null)
Content copied to clipboard
Properties
allow_sending_without_reply
Link copied to clipboard
disable_notification
Link copied to clipboard
Sends the message
horizontal_accuracy
Link copied to clipboard
live_period
Link copied to clipboard
Period in seconds for which the location will be updated (see
proximity_alert_radius
Link copied to clipboard
reply_markup
Link copied to clipboard
reply_to_message_id
Link copied to clipboard