set Status
fun setStatus(state: XMPPChatState, onCompletion: (SippoResourceError?) -> Unit)
Content copied to clipboard
Sets the current state of current chat instance. This method will send an empty Message with the state attached.
Parameters
state
the new State of the chat.
on Completion
Callback that will be invoked when the request is completed. It will receive a SippoResourceError if any error occurs. In case of success, error will be null.