interface APITextInputComponent
extends
APIBaseComponent<ComponentType.TextInput>export interface APITextInputComponent extends APIBaseComponent<ComponentType.TextInput>
https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-structure
string custom_id :
The custom id for the text input
string label :
Text that appears on top of the text input field, max 45 characters
optionalnumber max_length? :
Maximal length of text input
optionalnumber min_length? :
Minimal length of text input
optionalstring placeholder? :
Placeholder for the text input
optionalboolean required? :
Whether or not this text input is required or not
TextInputStyle style :
One of text input styles
optionalstring value? :
The pre-filled text in the text input