Adding members to private room and unknown message is automatically sent

Each time when Admin adds someone into a private group. A message is sent in the chat. And the message is:

“Something Unknown CometChat can’t process”

Hello @jzzhao,

Can you please let us know which tutorial are you using? Whenever a user is added to a group. An action message is sent in the group which has the details about who was added to the group, who added them in the group, and which group. You might have to check if this message is being generated in the tutorial itself and replace it. You can refer to our React UI Kit Sample App for reference. Also, can you please let us know which version of the SDK are you using?

React UI Kit Sample App: https://github.com/cometchat-pro/javascript-react-chat-app

Warm Regards,

CometChat Pro
Mayur Bhandari

Hi!

I am using this tutorial

let GUID = "GUID";
let membersList = [
  new CometChat.GroupMember("uid1", CometChat.GROUP_MEMBER_SCOPE.PARTICIPANT),
  new CometChat.GroupMember("uid2", CometChat.GROUP_MEMBER_SCOPE.PARTICIPANT)
];

CometChat.addMembersToGroup(GUID, membersList, []).then(
  response => {
    console.log("response", response);
  },
  error => {
    console.log("Something went wrong", error);
  }
);

Might be a stupid question, but how do I check which SDK am I using?