Skip to main content

InteractionData

@discordeno/bot


Documentation / @discordeno/bot / InteractionData

Interface: InteractionData

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

Properties

components?

optional components: Component[]

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


componentType?

optional componentType: MessageComponentTypes

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


customId?

optional customId: string

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


id?

optional id: bigint

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


name

name: string

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


options?

optional options: InteractionDataOption[]

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


resolved?

optional resolved: InteractionDataResolved

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


targetId?

optional targetId: bigint

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


type?

optional type: ApplicationCommandTypes

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


values?

optional values: string[]

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