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