set Status
fun setStatus(query: XMPPChatStateQuery, 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
query
a query for 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.