APITextInputComponent
Hierarchy
- APIBaseComponent<ComponentType.TextInput>
- APITextInputComponent
Index
Properties
custom_id
The custom id for the text input
label
Text that appears on top of the text input field, max 80 characters
optionalmax_length
Maximal length of text input
optionalmin_length
Minimal length of text input
optionalplaceholder
Placeholder for the text input
optionalrequired
Whether or not this text input is required or not
style
One of text input styles
type
The type of the component
optionalvalue
The pre-filled text in the text input
https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-structure