Skip to main content
Version: 5.7.0

InviteGroupMember

Invite a user to the group.

ServiceOperation
groupINVITE_MEMBER_TO_GROUP

Method Parameters

ParameterDescription
groupIdID of the group
profileIdProfile ID of the member being added
roleRole of the member being added
jsonAttributesAttributes of the member being added

Usage

http://localhost:3000
string groupId = "a-group-id";
string profileId = "a-profile-id";
Role role = Role.MEMBER;
string jsonAttributes = "{}";
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.InviteGroupMember(groupId, profileId, role, jsonAttributes, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}