Various methods for interacting with interactions.

Hierarchy

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

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

    Parameters

    • applicationID: string

      The ID of the application.

    • interactionToken: string

      The token of the interaction.

    Returns Promise<void>

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