Methods
-
staticQB.chat.roster.add(jidOrUserId, callback)
modules/chat/qbChat.js, line 1692 -
Add users to contact list(read more).
Name Type Description jidOrUserIdString | Number Use opponent id for 1 to 1 chat, and jid for group chat. callbackaddRosterCallback The callback function. -
staticQB.chat.roster.confirm(jidOrUserId, callback)
modules/chat/qbChat.js, line 1723 -
Confirm subscription with some user(read more).
Name Type Description jidOrUserIdString | Number Use opponent id for 1 to 1 chat, and jid for group chat. callbackconfirmRosterCallback The callback function. -
staticQB.chat.roster.get(callback)
modules/chat/qbChat.js, line 1632 -
Receive contact list(read more).
Name Type Description callbackgetRosterCallback The callback function. -
staticQB.chat.roster.reject(jidOrUserId, callback)
modules/chat/qbChat.js, line 1760 -
Reject subscription with some user(read more).
Name Type Description jidOrUserIdString | Number Use opponent id for 1 to 1 chat, and jid for group chat. callbackrejectRosterCallback The callback function. -
staticQB.chat.roster.remove(jidOrUserId, callback)
modules/chat/qbChat.js, line 1792 -
Remove subscription with some user from your contact list(read more).
Name Type Description jidOrUserIdString | Number Use opponent id for 1 to 1 chat, and jid for group chat. callbackremoveRosterCallback The callback function.