Class InputLabelAttribute
- Namespace
- Discord.Interactions
- Assembly
- Discord.Net.Interactions.dll
Creates a custom label for an modal input.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class InputLabelAttribute : Attribute
- Inheritance
-
InputLabelAttribute
- Inherited Members
Constructors
InputLabelAttribute(string)
Creates a custom label for an modal input.
public InputLabelAttribute(string label)
Parameters
label
stringThe label of the input.
Properties
Label
Gets the label of the input.
public string Label { get; }