Skip to content

createInteraction

createInteraction(client, data): Interaction

Defined in: packages/structures/src/interactions.ts:870

Creates a specialized interaction structure for a Gateway payload.

InteractionClient

Interaction transport.

InteractionData

Gateway interaction payload.

Interaction

Specialized interaction structure.

If required identifiers are missing.