Hierarchy

Constructors

Methods

  • Create an initial interaction response.

    Parameters

    • interactionID: string

      The ID of the interaction.

    • interactionToken: string

      The token of the interaction.

    • options: InteractionResponse

      The options for creating the interaction response.

    Returns Promise<void>

  • Delete a follow up message.

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    • messageID: string

      The ID of the message.

    Returns Promise<void>

  • Delete the original interaction response. Does not work with ephemeral messages.

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    Returns Promise<void>

  • Edit a followup message.

    Type Parameters

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    • messageID: string

      The ID of the message.

    • options: InteractionContent

      The options for editing the followup message.

    Returns Promise<Message<T>>

  • Get a followup message.

    Type Parameters

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    • messageID: string

      The ID of the message.

    Returns Promise<Message<T>>

  • Get an original interaction response.

    Type Parameters

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    Returns Promise<Message<T>>