Table of Contents

Class ModalInputAttribute

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

Mark an IModal property as a modal input field.

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

Properties

CustomId

Gets the custom id of the text input.

public string CustomId { get; }

Property Value

string