Esempio n. 1
0
 public override R <PermOverview[], CommandError> PermOverview(ClientDbIdT clientDbId, ChannelIdT channelId, params Ts3Permission[] permission)
 => SendNotifyCommand(new Ts3Command("permoverview", new List <ICommandPart>()
 {
     new CommandParameter("cldbid", clientDbId),
     new CommandParameter("cid", channelId),
     Ts3PermissionHelper.GetAsMultiParameter(msgProc.Deserializer.PermissionTransform, permission)
 }),
                      NotificationType.PermOverview).UnwrapNotification <PermOverview>();
Esempio n. 2
0
 public override R <PermOverview[], CommandError> PermOverview(ClientDbIdT clientDbId, ChannelIdT channelId, params Ts3Permission[] permission)
 => Send <PermOverview>("permoverview",
                        new CommandParameter("cldbid", clientDbId),
                        new CommandParameter("cid", channelId),
                        Ts3PermissionHelper.GetAsMultiParameter(msgProc.Deserializer.PermissionTransform, permission));