setStatus

fun setStatus(query: XMPPChatStateQuery): Completable

Sets the current state of current chat instance. This method will send an empty Message with the state attached.

Return

A completable that will emit when the request is processed. In case of error, it will emit a SippoResourceError.

Parameters

query

a query for the new State of the chat.