editMessageMedia
suspend fun TelegramBot.editMessageMedia(chatId: ChatIdentifier, messageId: MessageId, media: TelegramMedia, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageMedia(chat: Chat, messageId: MessageId, media: TelegramMedia, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageMedia(message: ContentMessage<out MediaContent>, media: TelegramMedia, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageMedia(inlineMessageId: InlineMessageId, media: TelegramMedia, replyMarkup: InlineKeyboardMarkup? = null): Boolean
Parameters
replyMarkup
Some InlineKeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builder for that