# editMessageCaption - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.edit.caption / editMessageCaption

# editMessageCaption

(common) `suspend fun RequestsExecutor.editMessageCaption(chatId: ChatIdentifier, messageId: MessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>` (source)
`suspend fun RequestsExecutor.editMessageCaption(chat: Chat, messageId: MessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>` (source)
`suspend fun <T> RequestsExecutor.editMessageCaption(message: ContentMessage<T>, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent> where T : CaptionedInput, T : MediaContent` (source)
`suspend fun RequestsExecutor.editMessageCaption(inlineMessageId: InlineMessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean` (source)