Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
enum InteractionResponseTypes
Re-export
import { InteractionResponseTypes } from "https://deno.land/x/discordeno@17.2.0/mod.ts";

Members

ApplicationCommandAutocompleteResult = 8

For Application Command Options, send an autocomplete result

ChannelMessageWithSource = 4

Respond to an interaction with a message

DeferredChannelMessageWithSource = 5

ACK an interaction and edit a response later, the user sees a loading state

DeferredUpdateMessage = 6

For components, ACK an interaction and edit the original message later; the user does not see a loading state

Modal = 9

For Command or Component interactions, send a Modal response

Pong = 1

ACK a Ping

UpdateMessage = 7

For components, edit the message the component was attached to