1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-23 02:28:45 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.edit.caption/edit-message-caption.md
2021-03-17 15:18:37 +00:00

7.3 KiB

//docs/dev.inmo.tgbotapi.extensions.api.edit.caption/editMessageCaption

editMessageCaption

[common]
Content
suspend fun TelegramBot.editMessageCaption(chatId: ChatIdentifier, messageId: MessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageCaption(chat: Chat, messageId: MessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun <T : CaptionedInput, MediaContent> TelegramBot.editMessageCaption(message: ContentMessage<T>, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageCaption(chatId: ChatIdentifier, messageId: MessageIdentifier, entities: List<TextSource>, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageCaption(chat: Chat, messageId: MessageIdentifier, entities: List<TextSource>, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun <T : CaptionedInput, MediaContent> TelegramBot.editMessageCaption(message: ContentMessage<T>, entities: List<TextSource>, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageCaption(inlineMessageId: InlineMessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.editMessageCaption(inlineMessageId: InlineMessageIdentifier, entities: List<TextSource>, replyMarkup: InlineKeyboardMarkup? = null): Boolean