public static IsFollowingRequest ToIsFollowingRPC(this FollowQuery query) { var request = new IsFollowingRequest(); request.EntityIds = new Thrift.Collections.THashSet <string>(); request.EntityIds.AddAll(query.Ids.Ids); request.EntityType = (int)query.Ids.Type; return(request); }
public static void IsFollowing(UserId userId, FollowQuery query, Action <Dictionary <string, bool> > success, Action <GetSocialError> failure) { GetSocialFactory.Bridge.IsFollowing(userId, query, success, failure); }
public static void Unfollow(FollowQuery query, Action <int> success, Action <GetSocialError> failure) { GetSocialFactory.Bridge.Unfollow(query, success, failure); }
public void IsFollowing(UserId userId, FollowQuery query, Action <Dictionary <string, bool> > success, Action <GetSocialError> failure) { CallAsync("Communities.isFollowing", GSJson.Serialize(new IsFollowingBody { UserId = userId, Query = query }), success, failure); }
public void Unfollow(FollowQuery query, Action <int> success, Action <GetSocialError> failure) { CallAsync("Communities.unfollow", GSJson.Serialize(query), success, failure); }