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

Properties

components: ModalActionRow[]

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.