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