6.11 Leave Group

The leaveGroup function is used to leave any joined group.

The function takes the following parameters :

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

  • groupId : Group Id of the Group.

#include "BayunCore.h"

Bayun::ShLeaveGroupResponse response = bayunCore->leaveGroup("<sessionId>", "<groupId>");

Last updated

Was this helpful?