1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-23 10:38:43 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.edit.caption/edit-message-caption.md

19 lines
7.3 KiB
Markdown
Raw Normal View History

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.api.edit.caption](index.md)/[editMessageCaption](edit-message-caption.md)
# editMessageCaption
[common]
Content
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[editMessageCaption](edit-message-caption.md)(chatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), parseMode: [ParseMode](../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null, replyMarkup: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[MediaContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-content/index.md)>
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[editMessageCaption](edit-message-caption.md)(chat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), parseMode: [ParseMode](../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null, replyMarkup: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[MediaContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-content/index.md)>
suspend fun <[T](edit-message-caption.md) : [CaptionedInput](../dev.inmo.tgbotapi.CommonAbstracts/-captioned-input/index.md), [MediaContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-content/index.md)> [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[editMessageCaption](edit-message-caption.md)(message: [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[T](edit-message-caption.md)>, text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), parseMode: [ParseMode](../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null, replyMarkup: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[MediaContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-content/index.md)>
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[editMessageCaption](edit-message-caption.md)(chatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), entities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>, replyMarkup: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[MediaContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-content/index.md)>
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[editMessageCaption](edit-message-caption.md)(chat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), entities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>, replyMarkup: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[MediaContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-content/index.md)>
suspend fun <[T](edit-message-caption.md) : [CaptionedInput](../dev.inmo.tgbotapi.CommonAbstracts/-captioned-input/index.md), [MediaContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-content/index.md)> [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[editMessageCaption](edit-message-caption.md)(message: [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[T](edit-message-caption.md)>, entities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>, replyMarkup: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null): [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[MediaContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-content/index.md)>
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[editMessageCaption](edit-message-caption.md)(inlineMessageId: [InlineMessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FInlineMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), parseMode: [ParseMode](../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null, replyMarkup: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[editMessageCaption](edit-message-caption.md)(inlineMessageId: [InlineMessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FInlineMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), entities: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>, replyMarkup: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)