editMessageMedia

suspend fun TelegramBot.editMessageMedia(chat: Chat, messageId: MessageId, media: TelegramMedia, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageMedia(inlineMessageId: InlineMessageIdentifier, media: TelegramMedia, replyMarkup: InlineKeyboardMarkup? = null): Boolean

Parameters

replyMarkup

Some InlineKeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builder for that