2022-05-01 15:33:36 +00:00
|
|
|
package dev.inmo.tgbotapi.extensions.api.edit.location.live
|
|
|
|
|
|
|
|
import dev.inmo.tgbotapi.bot.TelegramBot
|
|
|
|
import dev.inmo.tgbotapi.requests.edit.location.live.StopInlineMessageLiveLocation
|
2024-03-16 14:36:48 +00:00
|
|
|
import dev.inmo.tgbotapi.types.InlineMessageId
|
2022-05-01 15:33:36 +00:00
|
|
|
import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param replyMarkup Some [InlineKeyboardMarkup]. See [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard]
|
|
|
|
* as a builder for that
|
|
|
|
*/
|
|
|
|
suspend fun TelegramBot.stopLiveLocation(
|
2024-03-16 14:36:48 +00:00
|
|
|
inlineMessageId: InlineMessageId,
|
2022-05-01 15:33:36 +00:00
|
|
|
replyMarkup: InlineKeyboardMarkup? = null
|
|
|
|
) = execute(
|
|
|
|
StopInlineMessageLiveLocation(
|
|
|
|
inlineMessageId, replyMarkup
|
|
|
|
)
|
|
|
|
)
|