Table of Contents

Class InputComponentInfo

Namespace
Discord.Interactions
Assembly
Discord.Net.Interactions.dll

Represents the base info class for IModal input components.

public abstract class InputComponentInfo : ModalComponentInfo
Inheritance
InputComponentInfo
Derived
Inherited Members

Properties

CustomId

Gets the custom id of this component.

public string CustomId { get; }

Property Value

string

Description

Gets the description of this component.

public string Description { get; }

Property Value

string

IsRequired

Gets whether or not this component requires a user input.

public bool IsRequired { get; }

Property Value

bool

Label

Gets the label of this component.

public string Label { get; }

Property Value

string

TypeConverter

Gets the ModalComponentTypeConverter assigned to this component.

public ModalComponentTypeConverter TypeConverter { get; }

Property Value

ModalComponentTypeConverter