deleteMessage

fun deleteMessage(request: DeleteMessageRequest, callback: DeleteMessageCallback? = null)

Sends a delete message request through a socket connection.

Parameters

request

identifies message to be deleted and also related reason

callback

callback interface that will be called on either success or rejection of the request by the server

Throws

when room is not connected

when provided request fails to serialise