APITextInputComponent
https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-structure
Signature
export interface APITextInputComponent extends APIBaseComponent<ComponentType.TextInput>Properties
8Methods
0No methods.
Properties
id?: number;style: TextInputStyle;One of text input styles
custom_id: string;The custom id for the text input
placeholder?: string;Placeholder for the text input
value?: string;The pre-filled text in the text input
min_length?: number;Minimal length of text input
max_length?: number;Maximal length of text input
required?: boolean;Whether or not this text input is required or not