new InteractionModal
src/utils/modal/modal.ts:79new InteractionModal(data?: InteractionModalOptions)The most basic Structure class, every structure extends this
The most basic Structure class, every structure extends this
import { Utils } from 'detritus-client';
Utils.InteractionModal;new InteractionModal(data?: InteractionModalOptions)_getFromSnake(key: string): any_setFromSnake(key: string, value: any): any[custom](): objectaddActionRow(data?: ComponentActionRowData | ComponentActionRow): thisaddInputText(data?: ComponentActionData | ComponentInputText): thisaddLabel(data?: ComponentLabel | ComponentLabelData): thisaddTextDisplay(data?: ComponentTextDisplay | ComponentTextDisplayData): thisclear(): voidcreateActionRow(data?: ComponentActionRowData): ComponentActionRowcreateCheckbox(label?: ComponentLabelData, data?: ComponentActionData): ComponentCheckboxcreateCheckboxGroup(
label?: ComponentLabelData,
data?: ComponentActionData,
): ComponentCheckboxGroupcreateFileUpload(
label?: ComponentLabelData,
data?: ComponentActionData,
): ComponentFileUploadcreateInputText(data?: ComponentActionData): ComponentInputTextcreateLabel(data?: ComponentLabelData): ComponentLabelcreateRadioGroup(
label?: ComponentLabelData,
data?: ComponentActionData,
): ComponentRadioGroupcreateSelectMenu(
label?: ComponentLabelData,
data?: ComponentActionData,
): ComponentSelectMenucreateTextDisplay(data?: ComponentTextDisplayData): ComponentTextDisplaydifference(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: InteractionModalContext,
args: InteractionModalArgs,
error: Error,
): unknownonTimeout(): unknownrun(context: InteractionModalContext, args: InteractionModalArgs): unknowntoJSON(): CreateInteractionResponseInnerPayload