/// <summary>Displays detailed configuration information about a client including unique ID, nickname, client version, etc.</summary> public Task <R <ClientInfo, CommandError> > ClientInfo(ClientId clientId) => Send <ClientInfo>(new TsCommand("clientinfo") { { "clid", clientId }, }).MapToSingle();
public Task <R <ClientUidFromClid, CommandError> > GetClientUidFromClientId(ClientId clientId) => SendHybrid <ClientUidFromClid>(new TsCommand("clientgetuidfromclid") { { "clid", clientId } }, NotificationType.ClientUidFromClid).MapToSingle();
public CmdR KickClientFromChannel(ClientId clientId, string?reasonMsg = null) => KickClient(new[] { clientId }, ReasonIdentifier.Channel, reasonMsg);
public CmdR KickClientFromServer(ClientId clientId, string?reasonMsg = null) => KickClient(new[] { clientId }, ReasonIdentifier.Server, reasonMsg);
public CmdR SendPrivateMessage(string message, ClientId clientId) => SendMessage(message, TextMessageTargetMode.Private, clientId.Value);
public CmdR ChangeDescription(string newDescription, ClientId clientId) => SendVoid(new TsCommand("clientedit") { { "clid", clientId }, { "client_description", newDescription }, });
/// <summary>Displays detailed configuration information about a client including unique ID, nickname, client version, etc.</summary> public R <ClientInfo, CommandError> ClientInfo(ClientId clientId) => Send <ClientInfo>(new TsCommand("clientinfo") { { "clid", clientId }, }).WrapSingle();