Skip to main content

InteractionData

Documentation


Documentation / @discordeno/bot / InteractionData

Interface: InteractionData

Defined in: transformers/types.ts:1078

Properties

components?

optional components: Component[]

Defined in: transformers/types.ts:1082


componentType?

optional componentType: MessageComponentTypes

Defined in: transformers/types.ts:1080


customId?

optional customId: string

Defined in: transformers/types.ts:1081


id?

optional id: bigint

Defined in: transformers/types.ts:1087


name

name: string

Defined in: transformers/types.ts:1084


options?

optional options: InteractionDataOption[]

Defined in: transformers/types.ts:1086


resolved?

optional resolved: InteractionDataResolved

Defined in: transformers/types.ts:1085


targetId?

optional targetId: bigint

Defined in: transformers/types.ts:1088


type?

optional type: ApplicationCommandTypes

Defined in: transformers/types.ts:1079


values?

optional values: string[]

Defined in: transformers/types.ts:1083