Preview environment

enum InteractionContextType

export declare enum InteractionContextType

https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-context-types

Members

BotDM = 1

Interaction can be used within DMs with the app's bot user

Guild = 0

Interaction can be used within servers

PrivateChannel = 2

Interaction can be used within Group DMs and DMs other than the app's bot user