EditMessageMediaRequest

fun EditMessageMediaRequest(chatId: Int? = null, messageId: Int? = null, inlineMessageId: String? = null, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null)

Parameters

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)

messageId

Required if inline_message_id is not specified. Identifier of the message to edit

inlineMessageId

Required if chat_id and message_id are not specified. Identifier of the inline message

media

A JSON-serialized object for a new media content of the message

replyMarkup

A JSON-serialized object for a new inline keyboard.