Class ModalCommandParameterInfo
Represents the base parameter info class for InteractionService modals.
Implements
Inherited Members
Namespace: Discord.Interactions
Assembly: Discord.Net.Interactions.dll
Syntax
public class ModalCommandParameterInfo : CommandParameterInfo, IParameterInfo
Properties
| Improve this Doc View SourceCommand
Declaration
public ModalCommandInfo Command { get; }
Property Value
Type | Description |
---|---|
ModalCommandInfo |
IsModalParameter
Gets whether this parameter is an IModal
Declaration
public bool IsModalParameter { get; }
Property Value
Type | Description |
---|---|
Boolean |
Modal
Gets the ModalInfo class for this parameter if IsModalParameter is true.
Declaration
public ModalInfo Modal { get; }
Property Value
Type | Description |
---|---|
ModalInfo |
TypeReader
Gets the TypeReader assigned to this parameter, if IsModalParameter is true.
Declaration
public TypeReader TypeReader { get; }
Property Value
Type | Description |
---|---|
TypeReader |