ModalBuilder
No summary provided.
export declare class ModalBuilder implements JSONEncodable<APIModalInteractionResponseCallbackData>
constructor({ components, ...data }?)
Constructs a new instance of the
ModalBuilder
classSerializes this component to an API-compatible JSON object
Remarks
This method runs validations on the data before serializing it. As such, it may throw an error if the data is invalid.