Class ComponentCommandParameterInfo
Represents the parameter info class for ComponentCommandInfo commands.
Implements
Inherited Members
Namespace: Discord.Interactions
Assembly: Discord.Net.Interactions.dll
Syntax
public class ComponentCommandParameterInfo : CommandParameterInfo, IParameterInfo
Properties
| Improve this Doc View SourceIsRouteSegmentParameter
Gets whether this parameter is a CustomId segment or a component value parameter.
Declaration
public bool IsRouteSegmentParameter { get; }
Property Value
Type | Description |
---|---|
Boolean |
TypeConverter
Gets the ComponentTypeConverter that will be used to convert a message component value into ParameterType, if IsRouteSegmentParameter is false.
Declaration
public ComponentTypeConverter TypeConverter { get; }
Property Value
Type | Description |
---|---|
ComponentTypeConverter |
TypeReader
Gets the TypeReader that will be used to convert a CustomId segment value into ParameterType, if IsRouteSegmentParameter is true.
Declaration
public TypeReader TypeReader { get; }
Property Value
Type | Description |
---|---|
TypeReader |