telegramium.bots.client.StopMessageLiveLocationReq.scala Maven / Gradle / Ivy
package telegramium.bots.client
import telegramium.bots.ChatId
import telegramium.bots.InlineKeyboardMarkup
/** @param businessConnectionId
* Unique identifier of the business connection on behalf of which the message to be edited was sent
* @param chatId
* Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target
* channel (in the format @channelusername)
* @param messageId
* Required if inline_message_id is not specified. Identifier of the message with live location to stop
* @param inlineMessageId
* Required if chat_id and message_id are not specified. Identifier of the inline message
* @param replyMarkup
* A JSON-serialized object for a new inline keyboard.
*/
final case class StopMessageLiveLocationReq(
businessConnectionId: Option[String] = Option.empty,
chatId: Option[ChatId] = Option.empty,
messageId: Option[Int] = Option.empty,
inlineMessageId: Option[String] = Option.empty,
replyMarkup: Option[InlineKeyboardMarkup] = Option.empty
)