method addToRoster documentation in bbn\Api\Prosody

Adds to this OpenFire user's roster

function($username, $jid, $nickname = false, $subscriptionType = false) { $endpoint = '/users/'.$username.'/roster'; return $this->doRequest('post', $endpoint, compact('jid','nickname','subscriptionType')); }

Adds to this OpenFire user's roster BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.