editMessageMedia

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

Parameters

replyMarkup

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