Table of Contents

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

ModalCommandInfo

IsModalParameter

Gets whether this parameter is an IModal

public bool IsModalParameter { get; }

Property Value

bool

Modal

Gets the ModalInfo class for this parameter if IsModalParameter is true.

public ModalInfo Modal { get; }

Property Value

ModalInfo

TypeReader

Gets the TypeReader assigned to this parameter, if IsModalParameter is true.

public TypeReader TypeReader { get; }

Property Value

TypeReader