API v9EnumerationsInteractionContextTypeVersion: 0.37.107On this pageInteractionContextType https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-context-typesIndex Enumeration MembersBotDMGuildPrivateChannelEnumeration Members BotDMBotDM: 1 = 1Interaction can be used within DMs with the app’s bot userGuildGuild: 0 = 0Interaction can be used within serversPrivateChannelPrivateChannel: 2 = 2Interaction can be used within Group DMs and DMs other than the app’s bot user
https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-context-types