InteractionData
Defined in: packages/structures/src/interactions.ts:25
Data shared by Discord interactions.
Indexable
Section titled “Indexable”[
key:string]:unknown
Properties
Section titled “Properties”application_id
Section titled “application_id”application_id:
string
Defined in: packages/structures/src/interactions.ts:29
Application identifier.
channel_id?
Section titled “channel_id?”
optionalchannel_id?:string
Defined in: packages/structures/src/interactions.ts:39
Channel identifier.
optionaldata?:Record<string,unknown>
Defined in: packages/structures/src/interactions.ts:41
Interaction-specific data.
guild_id?
Section titled “guild_id?”
optionalguild_id?:string
Defined in: packages/structures/src/interactions.ts:37
Guild identifier.
id:
string
Defined in: packages/structures/src/interactions.ts:27
Interaction identifier.
token:
string
Defined in: packages/structures/src/interactions.ts:33
Interaction token.
type:
number
Defined in: packages/structures/src/interactions.ts:31
Interaction type.
version?
Section titled “version?”
optionalversion?:number
Defined in: packages/structures/src/interactions.ts:35
Gateway/API version.