new ComponentFileUpload
src/utils/components/fileupload.ts:36new ComponentFileUpload(data?: ComponentActionData)Utils Component File Upload Structure, only usable in modals inside of a label
Utils Component File Upload Structure, only usable in modals inside of a label
import { Utils } from 'detritus-client';
Utils.ComponentFileUpload;new ComponentFileUpload(data?: ComponentActionData)_getFromSnake(key: string): any_setFromSnake(key: string, value: any): any[custom](): objectaddFileType(fileType: string): thisdifference(key: string, value: any): [boolean, any]differences(data?: BaseStructureData): object | nulldifferencesBetween(structure: Structure): object | nullhasDifference(key: string, value: any): booleanhasDifferences(data?: BaseStructureData): booleanhasDifferencesBetween(structure: Structure): booleanmerge(data?: BaseStructureData): voidmergeValue(key: string, value: any): voidonError(context: ComponentContext, error: Error): unknownrun(context: ComponentContext): unknownsetCustomId(customId: string): thissetFileTypes(fileTypes: string[] | null): thissetMaxValues(maxValues: number | null): thissetMinValues(minValues: number | null): thissetRequired(required: boolean): thistoJSON(): RawChannelMessageComponent