telegramium.bots.client.EditMessageMediaReq.scala Maven / Gradle / Ivy
package telegramium.bots.client
import telegramium.bots.ChatId
import telegramium.bots.InputMedia
import telegramium.bots.InlineKeyboardMarkup
/** @param media
* A JSON-serialized object for a new media content of the message
* @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 to edit
* @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 EditMessageMediaReq(
media: InputMedia,
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
)