Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#createInteractionResponse

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.createInteractionResponse
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Create a response to an Interaction from the gateway. Takes an Interaction response.

Parameters

interactionId: string
interactionToken: string
payload: InteractionResponsePayload

Returns

Promise<void>