Skip to main content
Version: 5.7.0

GetMyGroups

Retrieve group information about the groups in which the current user is a member.

ServiceOperation
groupGET_MY_GROUPS

Usage

http://localhost:3000
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.GetMyGroups(successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"requested": [],
"invited": [],
"groups": [
{
"groupType": "test",
"groupId": "89044e44-e66c-479d-bb7c-a5c1af177728",
"isOpenGroup": false,
"requestingPendingMemberCount": 0,
"invitedPendingMemberCount": 0,
"ownerId": "b67b2d73-1e8c-42e9-9be5-9c1879a48555",
"name": "myGroupName",
"memberCount": 1
}
]
}
}