Class REST/Interactions

Various methods for interacting with interactions. Located at Client#rest.interactions.

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>

    Caching

    This method does not cache its result.

  • 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>

    Caching

    This method does not cache its result.

  • Delete the original interaction response.

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    Returns Promise<void>

    Caching

    This method does not cache its result.