libtd-ktx / kotlinx.telegram.extensions / ChatKtx / editMessageCaption
editMessageCaption
open suspend fun Chat.editMessageCaption(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
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 TdApi.Message Describes a message.