libtd-ktx / kotlinx.telegram.extensions / ChatKtx / editMessageText
editMessageText
open suspend fun
Chat
.editMessageText(messageId:
Long
, replyMarkup:
ReplyMarkup
?, inputMessageContent:
InputMessageContent
?):
Message
Suspend function, which edits the text of a message (or a text of a game message). 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.
inputMessageContent
- New text content of the message. Should be of type InputMessageText.
Return TdApi.Message Describes a message.