RawInteraction
Defined in: packages/http/src/interaction.ts:15
The parts of a raw Discord interaction payload Shardlens reads. APIInteraction from discord-api-types (and the
JSON Discord posts to your Interactions Endpoint URL) fits this shape.
Properties
Section titled “Properties”authorizing_integration_owners?
Section titled “authorizing_integration_owners?”
optionalauthorizing_integration_owners?:Partial<Record<string,string>>
Defined in: packages/http/src/interaction.ts:26
channel?
Section titled “channel?”
optionalchannel?:object
Defined in: packages/http/src/interaction.ts:20
optionaltype?:number
context?
Section titled “context?”
optionalcontext?:number
Defined in: packages/http/src/interaction.ts:25
optionaldata?:RawInteractionData
Defined in: packages/http/src/interaction.ts:18
entitlements?
Section titled “entitlements?”
optionalentitlements?: readonlyunknown[]
Defined in: packages/http/src/interaction.ts:27
guild_id?
Section titled “guild_id?”
optionalguild_id?:string
Defined in: packages/http/src/interaction.ts:19
guild_locale?
Section titled “guild_locale?”
optionalguild_locale?:string
Defined in: packages/http/src/interaction.ts:24
id:
string
Defined in: packages/http/src/interaction.ts:16
locale?
Section titled “locale?”
optionallocale?:string
Defined in: packages/http/src/interaction.ts:23
member?
Section titled “member?”
optionalmember?:object
Defined in: packages/http/src/interaction.ts:21
permissions?
Section titled “permissions?”
optionalpermissions?:string
optionaluser?:RawUser
message?
Section titled “message?”
optionalmessage?:object
Defined in: packages/http/src/interaction.ts:28
interaction?
Section titled “interaction?”
optionalinteraction?:object
interaction.name?
Section titled “interaction.name?”
optionalname?:string
type:
number
Defined in: packages/http/src/interaction.ts:17
optionaluser?:RawUser
Defined in: packages/http/src/interaction.ts:22