public function getActiveUsers()
    {
        $data = $this->call('apps/' . $this->appId . '/activeusers', [], 'get');

        $array = [];
        foreach ($data as $msg) {
            $array[] = User::fromResponse($msg);
        }

        return $array;
    }
public function getActiveUsers()
    {
        $data = $this->call('apps/' . $this->appId . '/activeusers', [], 'get');

        $array = [];
        foreach ($data as $msg) {
            $array[] = User::fromResponse($msg);
        }

        return $array;
    }
public function getActiveUsers ( ) { $ data = $ this -> call ( 'apps/' . $ this -> appId . '/activeusers' , [ ] , 'get' ) ; $ array = [ ] ; foreach ( $ data as $ msg ) { $ array [ ] = User :: fromResponse ( $ msg ) ; } return $ array ; }
Get all active users in application.
User is active, when his status is online.

@return array

@throws InvalidArgumentException
@throws Exception
Get all active users in application . User is active when his status is online .