Table of Contents

Enum InteractionResponseType

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

Represents the type of interaction response

public enum InteractionResponseType

Fields

Pong = 1

Acknowledges a Ping.

ChannelMessageWithSource = 4

Responds to the interaction with a message.

DeferredChannelMessageWithSource = 5

Acknowledges an interaction to edit to a response later. The user sees a "thinking" state.

DeferredMessageUpdate = 6

Acknowledges a component interaction to allow a response later.

UpdateMessage = 7

Responds to a component interaction by editing the message it's attached to.

AutoCompleteResult = 8

Responds to an auto-complete request.

Modal = 9

Responds to the interaction with a modal.

[DiscordDeprecated("Replaced by DiscordPremiumButtonComponent.")] [Deprecated] PremiumRequired = 10

Responds to the interaction with a message indicating that a premium subscription is required.

warning

Can only be used if you have an associated application subscription sku.

warning

Deprecated. Create normal response instead and use DiscordPremiumButtonComponent with target sku id.

[DiscordInExperiment("Currently in closed beta.")] [Experimental("We provide this type but can't provide support.")] Iframe = 11

Responds to the interaction with an iframe.

warning

Can only be used if you are whitelisted..