editMessageCaption

suspend fun TelegramBot.editMessageCaption(inlineMessageId: InlineMessageIdentifier, media: TelegramMedia, replyMarkup: InlineKeyboardMarkup? = null): Boolean

Deprecated

Renamed

Replace with

import dev.inmo.tgbotapi.extensions.api.edit.media.editMessageMedia
this.editMessageMedia(inlineMessageId, media, replyMarkup)

Parameters

replyMarkup

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