Table of Contents

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 string

The label of the input.

Properties

Label

Gets the label of the input.

public string Label { get; }

Property Value

string