Ejemplo n.º 1
0
        public static UpdateMembersRequest ToRPC(this UpdateGroupMembersQuery query)
        {
            var request = new UpdateMembersRequest();

            request.GroupId     = query.GroupId;
            request.Info        = new SGMembershipInfo();
            request.Info.Status = (int)query.Status;
            request.UserIds     = query.UserIdList.AsString();
            return(request);
        }
Ejemplo n.º 2
0
 public void UpdateGroupMembers(UpdateGroupMembersQuery query, Action <List <GroupMember> > success, Action <GetSocialError> failure)
 {
     CallAsync("Communities.updateGroupMembers", GSJson.Serialize(query), success, failure);
 }