APIFileUploadComponent
https://discord.com/developers/docs/components/reference#file-upload
Signature
export interface APIFileUploadComponent extends APIBaseComponent<ComponentType.FileUpload>Properties
5Methods
0No methods.
Properties
id?: number;Optional identifier for component
custom_id: string;ID for the file upload; max 100 characters
min_values?: number;Minimum number of items that must be uploaded (defaults to 1); min 0, max 10
max_values?: number;Maximum number of items that can be uploaded (defaults to 1); min 0, max 10
required?: boolean;Whether the file upload is required (defaults to false)