Class InputLabelAttribute
Creates a custom label for an modal input.
Namespace: Discord.Interactions
Assembly: Discord.Net.Interactions.dll
Syntax
public class InputLabelAttribute : Attribute
Constructors
| Improve this Doc View SourceInputLabelAttribute(String)
Creates a custom label for an modal input.
Declaration
public InputLabelAttribute(string label)
Parameters
Type | Name | Description |
---|---|---|
String | label | The label of the input. |
Properties
| Improve this Doc View SourceLabel
Gets the label of the input.
Declaration
public string Label { get; }
Property Value
Type | Description |
---|---|
String |