public IResponse LeaveGroup(ulong groupId)
{
string url = "https://steamcommunity.com/profiles/" + _account.SteamId + "/home_process";
string sessionid =
(from Cookie cookie in _account.AuthContainer.GetCookies(new Uri("https://steamcommunity.com"))
where cookie.Name == "sessionid"
select cookie.Value).FirstOrDefault();
var data = new Dictionary<string, string>
{
{"sessionID", sessionid},
{"action", "leaveGroup"},
{"groupId", groupId.ToString()}
};
return _web.Fetch(url, "POST", data, _account.AuthContainer, true, "https://steamcommunity.com/profiles/" + _account.SteamId + "/groups");
}