Class CommandParameter
A parameter definition for a channel command.
public record CommandParameter : IEquatable<CommandParameter>
- Inheritance
-
CommandParameter
- Implements
- Inherited Members
Properties
Choices
Pre-defined choices (for autocomplete/dropdowns).
public IReadOnlyList<string> Choices { get; init; }
Property Value
Description
Parameter description for help text.
public required string Description { get; init; }
Property Value
IsRequired
Whether this parameter is required.
public bool IsRequired { get; init; }
Property Value
Name
Parameter name (e.g., "model").
public required string Name { get; init; }
Property Value
Type
Parameter value type.
public CommandParameterType Type { get; init; }