public function updateUserPreferences($preferences)
    {
        return Connection::sendCurlRequest(Connection::URL_USERS . '/me', 'POST', ['preferences' => $preferences], true,
            $this->apiKey);
    }
public function updateUserPreferences($preferences)
    {
        return Connection::sendCurlRequest(Connection::URL_USERS . '/me', 'POST', ['preferences' => $preferences], true,
            $this->apiKey);
    }
public function updateUserPreferences ( $ preferences ) { return Connection :: sendCurlRequest ( Connection :: URL_USERS . '/me' , 'POST' , [ 'preferences' => $ preferences ] , true , $ this -> apiKey ) ; }
Update preferences for the current user.

@param array $preferences Preferences.

@return object Response.
@throws Exceptions\ConnectionException
@throws Exceptions\InvalidTokenException
Update preferences for the current user .