Table of Contents

Class ModalComponentAttribute

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

Mark an IModal property as a modal component field.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public abstract class ModalComponentAttribute : Attribute
Inheritance
ModalComponentAttribute
Derived
Inherited Members

Properties

ComponentType

Gets the type of the component.

public abstract ComponentType ComponentType { get; }

Property Value

ComponentType