-
Notifications
You must be signed in to change notification settings - Fork 11
edit text
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.extensions / MessageKtx / editText
open suspend fun
Message
.editText(chatId:
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.
chatId
- The chat the message belongs to.
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.