Class TextInputComponentInfo
Represents the InputComponentInfo class for TextInput type.
Inherited Members
Namespace: Discord.Interactions
Assembly: Discord.Net.Interactions.dll
Syntax
public class TextInputComponentInfo : InputComponentInfo
Properties
| Improve this Doc View SourceInitialValue
Gets the initial value to be displayed by this input.
Declaration
public string InitialValue { get; }
Property Value
Type | Description |
---|---|
String |
MaxLength
Gets the maximum length of the text input.
Declaration
public int MaxLength { get; }
Property Value
Type | Description |
---|---|
Int32 |
MinLength
Gets the minimum length of the text input.
Declaration
public int MinLength { get; }
Property Value
Type | Description |
---|---|
Int32 |
Placeholder
Gets the placeholder of the text input.
Declaration
public string Placeholder { get; }
Property Value
Type | Description |
---|---|
String |
Style
Gets the style of the text input.
Declaration
public TextInputStyle Style { get; }
Property Value
Type | Description |
---|---|
TextInputStyle |