public Task <R <PermOverview[], CommandError> > PermOverview(ClientDbId clientDbId, ChannelId channelId, params TsPermission[] permission) => SendHybrid <PermOverview>(new TsCommand("permoverview") { { "cldbid", clientDbId }, { "cid", channelId }, TsPermissionHelper.GetAsMultiParameter(Deserializer.PermissionTransform, permission) }, NotificationType.PermOverview);
/// <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(ServerGroupId serverGroupId, TsPermission[] permission, int[] permissionValue, bool[] permissionNegated, bool[] permissionSkip) => SendVoid(new TsCommand("servergroupaddperm") { { "sgid", serverGroupId }, { "permvalue", permissionValue }, { "permnegated", permissionNegated }, { "permskip", permissionSkip }, TsPermissionHelper.GetAsMultiParameter(Deserializer.PermissionTransform, permission), });