export declare class ModalBuilder implements JSONEncodable<APIModalInteractionResponseCallbackData>

Constructors

constructor()

Constructs a new instance of the ModalBuilder class

Adds components to this modal

setComponents() : this

Sets the components in this modal

setCustomId(
customId: string
) : this

Sets the custom id of the modal

setTitle(
title: string
) : this

Sets the title of the modal

Serializes this component to an API-compatible JSON object