InputTextComponent
Documentation / @discordeno/bot / InputTextComponent
Interface: InputTextComponent
Defined in: packages/types/dist/types/discordeno.d.ts:199
https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-structure
Properties
customId
customId:
string
Defined in: packages/types/dist/types/discordeno.d.ts:205
The customId of the InputText
label
label:
string
Defined in: packages/types/dist/types/discordeno.d.ts:207
The label of the InputText. Maximum 45 characters
maxLength?
optional
maxLength:number
Defined in: packages/types/dist/types/discordeno.d.ts:213
The maximum length of the text the user has to provide
minLength?
optional
minLength:number
Defined in: packages/types/dist/types/discordeno.d.ts:211
The minimum length of the text the user has to provide
placeholder?
optional
placeholder:string
Defined in: packages/types/dist/types/discordeno.d.ts:209
The placeholder of the InputText
required?
optional
required:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:215
Whether or not this input is required.
style
style:
TextStyles
Defined in: packages/types/dist/types/discordeno.d.ts:203
The style of the InputText
type
type:
InputText
Defined in: packages/types/dist/types/discordeno.d.ts:201
InputText Component is of type 4
value?
optional
value:string
Defined in: packages/types/dist/types/discordeno.d.ts:217
Pre-filled value for input text.