6.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 registration/login function response.

  • groupId : Group Id of the Public Group.

#include "BayunCore.h"

Bayun::ShJoinPublicGroupResponse response = bayunCore->joinPublicGroup("<sessionId>", "<groupId>");
std::string sessionId = response->sessionId.c_str();

Last updated

Was this helpful?