interface APITextInputComponent
extends
APIBaseComponent<ComponentType.TextInput>export interface APITextInputComponent extends APIBaseComponent<ComponentType.TextInput>See also: https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-structure
custom_id : string
The custom id for the text input
optionalid? : number
int32, auto generated via increment if not provided
Inherited from: APIBaseComponent
label : string
Text that appears on top of the text input field, max 45 characters
optionalmax_length? : number
Maximal length of text input
optionalmin_length? : number
Minimal length of text input
optionalplaceholder? : string
Placeholder for the text input
optionalrequired? : boolean
Whether or not this text input is required or not
style : TextInputStyle
One of text input styles
optionalvalue? : string
The pre-filled text in the text input