setPresenceTo

abstract suspend fun setPresenceTo(presence: RainbowPresence): RainbowResult<Unit>

Changes the presence of the connected user.

Return

RainbowResult callback invoked upon completion of the operation.

Parameters

presence

The updated presence as a RainbowPresence.