I am developing a plugin for cometchat and on the web implementation I am having issues with the createUser method. The error is shown on the picture above.
The complete code that I used is below:
var user = new CometChat.User(options.uid);user.setName(name);CometChat.createUser(user, this.apiKey)
I am developing a plugin for cometchat and on the web implementation I am having issues with the createUser method. The error is shown on the picture above.
The complete code that I used is below:
var user = new CometChat.User(options.uid);
user.setName(name);
CometChat.createUser(user, this.apiKey)