Preview environment

enum InteractionResponseType

export declare enum InteractionResponseType

https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-type

Members

ApplicationCommandAutocompleteResult = 8

For autocomplete interactions

ChannelMessageWithSource = 4

Respond to an interaction with a message

DeferredChannelMessageWithSource = 5

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

DeferredMessageUpdate = 6

ACK a button interaction and update it to a loading state

LaunchActivity = 12

Launch the Activity associated with the app.

Respond to an interaction with an modal for a user to fill-out

Pong = 1

ACK a Ping

deprecated
PremiumRequired = 10

Respond to an interaction with an upgrade button, only available for apps with monetization enabled

UpdateMessage = 7

ACK a button interaction and edit the message to which the button was attached