Table of Contents

Class TextInputComponentInfo

Namespace
Discord.Interactions
Assembly
Discord.Net.Interactions.dll

Represents the InputComponentInfo class for TextInput type.

public class TextInputComponentInfo : InputComponentInfo
Inheritance
TextInputComponentInfo
Inherited Members

Properties

InitialValue

Gets the initial value to be displayed by this input.

public string InitialValue { get; }

Property Value

string

MaxLength

Gets the maximum length of the text input.

public int MaxLength { get; }

Property Value

int

MinLength

Gets the minimum length of the text input.

public int MinLength { get; }

Property Value

int

Placeholder

Gets the placeholder of the text input.

public string Placeholder { get; }

Property Value

string

Style

Gets the style of the text input.

public TextInputStyle Style { get; }

Property Value

TextInputStyle