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.
Parameters
Section titled “Parameters”sessionId
Section titled “sessionId”string
version
Section titled “version”number
string
Returns
Section titled “Returns”string