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

    Class DeferredChannelMessage

    ACK an interaction and edit a response later, the user sees a loading state

    Implements

    Index

    Constructors

    Properties

    Constructors

    • Creates a new DeferredChannelMessage response.

      Parameters

      • ephemeral: boolean

        Whether the response should be ephemeral.

      • callback: (webhook: Webhook) => void

        Optional callback to be called after responding to the interaction.

      Returns DeferredChannelMessage

    Properties

    callback: (webhook: Webhook) => void

    Optional callback to be called after responding to the interaction.

    data?: { flags: 64 }

    The message data to send in the response.

    type: DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE = InteractionCallbackTypes.DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE

    Type of response