15 public string Name {
get; }
35 User = user ??
throw new ArgumentNullException(nameof(user));
36 Name = command ??
throw new ArgumentNullException(nameof(command));
37 Params = parameters ??
throw new ArgumentNullException(nameof(parameters));
Represents a tgs_chat_user datum.
Represents a chat command to be handled by DD.
ChatCommand(ChatUser user, string command, string parameters)
Initializes a new instance of the ChatCommand class.
ChatUser User
The ChatUser that sent the command.
string Params
The command params.
string Name
The command name.