src/User.php
public function getPresence()
    {
        return $this->client->apiCall('users.getPresence', [
            'user' => $this->getId(),
        ])->then(function (Payload $response) {
            return $response['presence'];
        });
    }
public function getPresence()
    {
        return $this->client->apiCall('users.getPresence', [
            'user' => $this->getId(),
        ])->then(function (Payload $response) {
            return $response['presence'];
        });
    }
public function getPresence ( ) { return $ this -> client -> apiCall ( 'users.getPresence' , [ 'user' => $ this -> getId ( ) , ] ) -> then ( function ( Payload $ response ) { return $ response [ 'presence' ] ; } ) ; }
Gets a user's presence.

@return \React\Promise\PromiseInterface The current user's presence, either "active" or "away".
Gets a user s presence .