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, string)
Creates a custom label for an modal input.
public InputLabelAttribute(string label, string description = null)
Parameters
Properties
Description
Gets the label description of the input.
public string Description { get; set; }
Property Value
Label
Gets the label of the input.
public string Label { get; }