7.4 Join Public Group

The joinPublicGroup function is used to join any public group of the organisation.

The function takes the following parameters :

  • sessionId : Unique SessionId which is received in the login/registration function response.

  • groupId : Group Id of the Public Group.

bayunCore.joinPublicGroup("<sessionId>", "<groupId>")
.then(result => {
      console.log("Response received for joinPublicGroup.");
      console.log(result);
})
.catch(error => {
      console.log("Error caught");
      console.log(error);
});

Last updated

Was this helpful?