@typed-discord/interactions
    Preparing search index...

    Class Modal

    Respond to an interaction with a popup modal

    Implements

    Index

    Constructors

    Properties

    Constructors

    • Creates a new Modal response.

      Parameters

      • data: ModalInteractionCallbackRequestData

        The modal data to send in the response.

      • Optionalcallback: () => void

        Optional callback to be called after responding to the interaction.

      Returns Modal

    Properties

    callback?: () => void

    Optional callback to be called after responding to the interaction.

    data: ModalInteractionCallbackRequestData

    The modal data to send in the response.

    type: MODAL = InteractionCallbackTypes.MODAL

    Type of response