Skip to main content

InteractionData

Documentation


Documentation / @discordeno/bot / InteractionData

Interface: InteractionData

Defined in: bot/src/transformers/types.ts:1017

Properties

components?

optional components: Component[]

Defined in: bot/src/transformers/types.ts:1021


componentType?

optional componentType: MessageComponentTypes

Defined in: bot/src/transformers/types.ts:1019


customId?

optional customId: string

Defined in: bot/src/transformers/types.ts:1020


id?

optional id: bigint

Defined in: bot/src/transformers/types.ts:1026


name

name: string

Defined in: bot/src/transformers/types.ts:1023


options?

optional options: InteractionDataOption[]

Defined in: bot/src/transformers/types.ts:1025


resolved?

optional resolved: InteractionDataResolved

Defined in: bot/src/transformers/types.ts:1024


targetId?

optional targetId: bigint

Defined in: bot/src/transformers/types.ts:1027


type?

optional type: ApplicationCommandTypes

Defined in: bot/src/transformers/types.ts:1018


values?

optional values: string[]

Defined in: bot/src/transformers/types.ts:1022