Skip to main content
Version: 5.7.0

SetGroupOpen

Set whether a group is open (true) or closed (false).

ServiceOperation
groupSET_GROUP_OPEN

Method Parameters

ParameterDescription
groupIdID of the group
isOpenGrouptrue if group is open; false if closed

Usage

http://localhost:3000
string groupId = "a-group-id";
bool isOpenGroup = false;
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.Group.SetGroupOpen(groupId, isOpenGroup, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}