Skip to content

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.

optional component_type?: number

Defined in: packages/http/src/interaction.ts:39


optional custom_id?: string

Defined in: packages/http/src/interaction.ts:38


optional guild_id?: string

Defined in: packages/http/src/interaction.ts:36


optional id?: string

Defined in: packages/http/src/interaction.ts:33


optional name?: string

Defined in: packages/http/src/interaction.ts:34


optional options?: readonly RawOption[]

Defined in: packages/http/src/interaction.ts:37


optional type?: number

Defined in: packages/http/src/interaction.ts:35