interface ModalData {
    components: ModalComponent[];
    customID: string;
    title: string;
}

Properties

components: ModalComponent[]

The components of the modal. Each component needs its own row. snake_case keys should be converted to camelCase, or passed through Util#rawModalComponents.

customID: string

The custom ID of the modal.

title: string

The title of the modal.