RawInteractionData
Defined in: packages/http/src/interaction.ts:32
The data of a raw interaction: the command, its options, or the component or modal’s custom ID.
Properties
Section titled “Properties”component_type?
Section titled “component_type?”
optionalcomponent_type?:number
Defined in: packages/http/src/interaction.ts:39
custom_id?
Section titled “custom_id?”
optionalcustom_id?:string
Defined in: packages/http/src/interaction.ts:38
guild_id?
Section titled “guild_id?”
optionalguild_id?:string
Defined in: packages/http/src/interaction.ts:36
optionalid?:string
Defined in: packages/http/src/interaction.ts:33
optionalname?:string
Defined in: packages/http/src/interaction.ts:34
options?
Section titled “options?”
optionaloptions?: readonlyRawOption[]
Defined in: packages/http/src/interaction.ts:37
optionaltype?:number
Defined in: packages/http/src/interaction.ts:35