Skip to content

encodeInteractionId

encodeInteractionId(sessionId, version, key): string

Defined in: packages/core/src/session/schema.ts:306

Builds the id Arona sends as a Discord custom_id.

The session and version let a cold process find the record before it has rendered anything. key stays the author’s custom id, or a<n> for an auto-assigned interactive node.

string

number

string

string