/// <summary>Adds a set of specified permissions to the server group specified with <paramref name="serverGroupId"/>. /// Multiple permissions can be added by providing the four parameters of each permission.</summary> public CmdR ServerGroupAddPerm(ServerGroupIdT serverGroupId, Ts3Permission permission, int permissionValue, bool permissionNegated, bool permissionSkip) => Send("servergroupaddperm", new CommandParameter("sgid", serverGroupId), Ts3PermissionHelper.GetAsParameter(Deserializer.PermissionTransform, permission), new CommandParameter("permvalue", permissionValue), new CommandParameter("permnegated", permissionNegated), new CommandParameter("permskip", permissionSkip));
/// <summary>Adds a set of specified permissions to the server group specified with <paramref name="serverGroupId"/>. /// Multiple permissions can be added by providing the four parameters of each permission.</summary> public CmdR ServerGroupAddPerm(ServerGroupIdT serverGroupId, Ts3Permission permission, int permissionValue, bool permissionNegated, bool permissionSkip) => Send <ResponseVoid>(new Ts3Command("servergroupaddperm") { { "sgid", serverGroupId }, { "permvalue", permissionValue }, { "permnegated", permissionNegated }, { "permskip", permissionSkip }, Ts3PermissionHelper.GetAsParameter(Deserializer.PermissionTransform, permission), });