Snowflake constructor
const
Snowflake(
- int value
Create a new snowflake from an integer value.
Snowflakes are generally unique across the API except in some cases where children share their parent's IDs.
{@template snowflake_ordering} Snowflakes are ordered first by their timestamp, then by workerId, processId and increment. The last three fields are only used internally by Discord so the only ordering visible through the API is by timestamp.
Implementation
const Snowflake(this.value);