Skip to main content

InteractionData

@discordeno/botDocs


Documentation / @discordeno/bot / InteractionData

Interface: InteractionData

Properties

components?

optional components: Component[]

Defined in

packages/bot/src/transformers/types.ts:953


componentType?

optional componentType: MessageComponentTypes

Defined in

packages/bot/src/transformers/types.ts:951


customId?

optional customId: string

Defined in

packages/bot/src/transformers/types.ts:952


id?

optional id: bigint

Defined in

packages/bot/src/transformers/types.ts:958


name

name: string

Defined in

packages/bot/src/transformers/types.ts:955


options?

optional options: InteractionDataOption[]

Defined in

packages/bot/src/transformers/types.ts:957


resolved?

optional resolved: InteractionDataResolved

Defined in

packages/bot/src/transformers/types.ts:956


targetId?

optional targetId: bigint

Defined in

packages/bot/src/transformers/types.ts:959


type?

optional type: ApplicationCommandTypes

Defined in

packages/bot/src/transformers/types.ts:950


values?

optional values: string[]

Defined in

packages/bot/src/transformers/types.ts:954