Hierarchy

Constructors

Methods

  • Create an initial interaction response.

    Returns

    Parameters

    • interactionID: string

      The ID of the interaction.

    • interactionToken: string

      The token of the interaction.

    • options: InteractionResponse

    Returns Promise<void>

  • Delete a follow up message.

    Returns

    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.

    Returns

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    Returns Promise<void>

  • Get a followup message.

    Returns

    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.

    Returns

    Type Parameters

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    Returns Promise<Message<T>>