EditMessageListener

Listener for editions in messages.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun onMessageEditRequest(message: Message)

Method called when a request for message edition happens. Use it to update database, update messages in the SDK, update the UI when a message occurs...

Link copied to clipboard
abstract suspend fun onMessageEditResult(originalMessage: Message, result: Result<Message>)

Method called when a request for message edition return. Use it to update database, update messages or to present an error to the user.