CSharpTradeOffers.Community.SteamUserHandler.GetUserGroupList C# (CSharp) Method

GetUserGroupList() public method

Requests the GroupIds of the groups of the specified player.
public GetUserGroupList ( ulong steamId ) : CSharpTradeOffers.Community.GetUserGroupListResult
steamId ulong SteamId64 of the player.
return CSharpTradeOffers.Community.GetUserGroupListResult
        public GetUserGroupListResult GetUserGroupList(ulong steamId)
        {
            const string url = BaseUrl + "GetUserGroupList/1/";
            var data = new Dictionary<string, string>
            {
                {"key", _apiKey},
                {"steamid", steamId.ToString()}
            };
            return _web.Fetch(url, "GET", data, null, false).DeserializeJson<GetUserGroupListBaseResult>().Result;
        }