libtd-ktx / kotlinx.telegram.coroutines / editMessageCaption
editMessageCaption
suspend fun
TelegramFlow
.editMessageCaption(chatId:
Long
, messageId:
Long
, replyMarkup:
ReplyMarkup
?, caption:
FormattedText
?):
Message
Suspend function, which edits the message content caption. Returns the edited message after the edit is completed on the server side.
Parameters
chatId
- The chat the message belongs to.
messageId
- Identifier of the message.
replyMarkup
- The new message reply markup; for bots only.
caption
- New message content caption; 0-GetOption("message_caption_length_max")
characters.
Return Message Describes a message.