Skip to main content
Version: 5.7.0

AcceptGroupInvitation

Accept an invitation to become a member of the group.

Example group invite request:

data" : {
...
"invited":[
{
"groupType":"Clan",
"groupId":"9c09427c-a0f1-4247-8799-dee270a2357f",
"memberCount":14,
"name":"Rico's Roughnecks",
"invitedPendingMemberCount":1,
"requestingPendingMemberCount":0,
"ownerId":"0d08a2e5-8692-4f6b-9e0c-099e0e1031e4",
"isOpenGroup":false
}
],
...
}
ServiceOperation
groupACCEPT_GROUP_INVITATION

Method Parameters

ParameterDescription
groupIdID of the group

Usage

http://localhost:3000
string groupId = "a-group-id";
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.GroupService.AcceptGroupInvitation(groupId, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}