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>Displays all server groups the client specified with <paramref name="clDbId"/> is currently residing in.</summary> public Task <R <ServerGroupsByClientId[], CommandError> > ServerGroupsByClientDbId(ClientDbId clDbId) => SendHybrid <ServerGroupsByClientId>(new TsCommand("servergroupsbyclientid") { { "cldbid", clDbId } }, NotificationType.ServerGroupsByClientId);
/// <summary>Displays detailed database information about a client including unique ID, creation date, etc.</summary> public Task <R <ClientDbInfo, CommandError> > ClientDbInfo(ClientDbId clientDbId) => Send <ClientDbInfo>(new TsCommand("clientdbinfo") { { "cldbid", clientDbId }, }).MapToSingle();
/// <summary>Removes a client specified with cldbid from the server group specified with <paramref name="serverGroupId"/>.</summary> public CmdR ServerGroupDelClient(ServerGroupId serverGroupId, ClientDbId clientDbId) => SendVoid(new TsCommand("servergroupdelclient") { { "sgid", serverGroupId }, { "cldbid", clientDbId }, });
/// <summary>Displays detailed database information about a client including unique ID, creation date, etc.</summary> public R <ClientDbInfo, CommandError> ClientDbInfo(ClientDbId clientDbId) => Send <ClientDbInfo>(new TsCommand("clientdbinfo") { { "cldbid", clientDbId }, }).WrapSingle();