Presence features
A plugin ...
Key features:
Returns a personal presenceChange personal presenceReturns the presence info for a particular user.Retrieves a list of subscribed users (a list of users that send they presence).Subscribe a specified extension for presence events.Remove previously subscribed user for current session.
Subscribe to presence events
wtapi = new WTAPI("...");
wtapi.presence.on("presence_changed", callback);
wtapi.presence.on("personal_presence_changed", callback);
wtapi.connect();