Closed AlexDaniel closed 6 years ago
I think it's as simple as:
$client.put: “/presence/{$client.user-id}/status”,
to-json %(presence => ‘online’, status_msg => ‘I am here.’);
$client.put: “/presence/{$client.user-id}/status”,
to-json %(presence => ‘offline’, status_msg => ‘I am not here.’);
Are presence events supported? I see that there's something but is it actually possible to toggle your own presence?