Class ModalComponentInfo
- Namespace
- Discord.Interactions
- Assembly
- Discord.Net.Interactions.dll
Represents the base info class for IModal components.
public abstract class ModalComponentInfo
- Inheritance
-
ModalComponentInfo
- Derived
- Inherited Members
Properties
Attributes
Gets a collection of the attributes of this command.
public IReadOnlyCollection<Attribute> Attributes { get; }
Property Value
ComponentType
Gets the type of this component.
public ComponentType ComponentType { get; }
Property Value
DefaultValue
Gets the default value of this component property.
public object DefaultValue { get; }
Property Value
Modal
Gets the parent modal of this component.
public ModalInfo Modal { get; }
Property Value
PropertyInfo
Gets the property linked to this component.
public PropertyInfo PropertyInfo { get; }
Property Value
Type
Gets the reference type of this component.
public Type Type { get; }