createInteraction
createInteraction(
client,data):Interaction
Defined in: packages/structures/src/interactions.ts:870
Creates a specialized interaction structure for a Gateway payload.
Parameters
Section titled “Parameters”client
Section titled “client”Interaction transport.
Gateway interaction payload.
Returns
Section titled “Returns”Specialized interaction structure.
Throws
Section titled “Throws”If required identifiers are missing.