edit
abstract fun edit( originalMessage: Message, text: Message.Text?, mentions: ArrayList<Mention>?, handler: CompletionHandler<Message>)
Content copied to clipboard
Edit a previous sent message asynchronously.
Since
2.8.0
Parameters
original Message
The message that is editing.
text
The new text that will replace original message, if not edit this value, please set the value same with original message.
mentions
The mentioned person list that will replace original message, if not edit this value, please set the value same with original message.
handler
A closure to be executed once the message has edited. A {@link com.ciscowebex.androidsdk.message.MessageObserver.MessageEdited} event will gain if success. Developer can call {@link Message#update(MessageObserver.MessageEdited)} method to update to original message.