update Own Presence
fun updateOwnPresence(request: UpdatePresenceRequest, onCompletion: (Either<Presence, SippoResourceError>) -> Unit)
Updates the presence for the current user.
Only the state, displayName and avatar parameters can be updated. Any other changes will be ignored.
Parameters
request
Request to set the parameters to be updated.
on Completion
Callback that will be invoked when the request is completed. It will receive the updated presence in case of success or a SippoResourceError otherwise.