FileUploadComponent
Documentation / @discordeno/types / FileUploadComponent
Interface: FileUploadComponent
Defined in: discordeno/components.ts:453
https://docs.discord.com/developers/components/reference#file-upload-file-upload-structure
Extends
Properties
customId
customId:
string
Defined in: discordeno/components.ts:457
The custom id for the file upload
id?
optionalid?:number
Defined in: discordeno/components.ts:42
32 bit integer used as an optional identifier for component
Inherited from
maxValues?
optionalmaxValues?:number
Defined in: discordeno/components.ts:470
The maximum number of files that can be uploaded
Remarks
Between 1-10
minValues?
optionalminValues?:number
Defined in: discordeno/components.ts:464
The minimum number of files that must be uploaded
Remarks
Between 0-10
required?
optionalrequired?:boolean
Defined in: discordeno/components.ts:476
Whether this component is required to be filled
Default
true
type
type:
FileUpload
Defined in: discordeno/components.ts:454
The type of the component