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

    Class ChannelMessage

    Respond to an interaction with a message

    Implements

    Index

    Constructors

    Properties

    Constructors

    • Creates a new ChannelMessage response.

      Parameters

      • data: IncomingWebhookInteractionRequest

        The message data to send in the response.

      • Optionalcallback: (webhook: Webhook) => void

        Optional callback to be called after responding to the interaction.

      Returns ChannelMessage

    Properties

    callback?: (webhook: Webhook) => void

    Optional callback to be called after responding to the interaction.

    data: IncomingWebhookInteractionRequest

    The message data to send in the response.

    type: CHANNEL_MESSAGE_WITH_SOURCE = InteractionCallbackTypes.CHANNEL_MESSAGE_WITH_SOURCE

    Type of response