public static GetGroupsRequest ToRPC(this GroupsQuery query) { var request = new GetGroupsRequest(); request.FollowedByUserId = query.FollowerId.ToRpc(); request.MemberUserId = query.MemberId.ToRpc(); request.SearchTerm = query.SearchTerm; return(request); }
public void GetGroupsCount(GroupsQuery query, Action <int> success, Action <GetSocialError> failure) { CallAsync("Communities.getGroupsCount", GSJson.Serialize(query), success, failure); }