StopMessageLiveLocationRequest

data class StopMessageLiveLocationRequest(chat_id: String?, message_id: Long?, inline_message_id: String?, reply_markup: InlineKeyboardMarkup?) : TelegramRequest

Use this method to stop updating a live location message before live_period expires. On success, if the message was sent by the bot, the sent Message is returned, otherwise True is returned.

Constructors

StopMessageLiveLocationRequest
Link copied to clipboard
fun StopMessageLiveLocationRequest(chat_id: String? = null, message_id: Long? = null, inline_message_id: String? = null, reply_markup: InlineKeyboardMarkup? = null)

Properties

chat_id
Link copied to clipboard
val chat_id: String? = null
Required if inline_message_id is not specified.
inline_message_id
Link copied to clipboard
val inline_message_id: String? = null
Required if chat_id and message_id are not specified.
message_id
Link copied to clipboard
val message_id: Long? = null
Required if inline_message_id is not specified.
reply_markup
Link copied to clipboard
val reply_markup: InlineKeyboardMarkup? = null
A JSON-serialized object for a new © 2021 CopyrightGenerated by dokka