Discord ids ("snowflakes"). Lingo keeps them as strings, as Discord sends them; they encode their creation time.
Summary
Functions
The smallest id created at datetime, for before:/after: pagination.
The smallest id created at a Unix time in milliseconds.
When the object with this id was created.
The id as an integer.
Types
@type t() :: String.t()
Functions
@spec from_datetime(DateTime.t()) :: t()
The smallest id created at datetime, for before:/after: pagination.
The smallest id created at a Unix time in milliseconds.
@spec to_datetime(t()) :: DateTime.t()
When the object with this id was created.
@spec to_integer(t()) :: non_neg_integer()
The id as an integer.