TimestampStyle enum
Timestamps will display the given timestamp in the user's timezone and locale
https://discord.com/developers/docs/reference#message-formatting-timestamp-styles
Constructors
- TimestampStyle()
-
const
Values
- shortTime → const TimestampStyle
-
Example: 16:20
- longTime → const TimestampStyle
-
Example: 16:20:30
- shortDate → const TimestampStyle
-
Example: 20/04/2021
- longDate → const TimestampStyle
-
Example: 20 April 2021
- shortDateTime → const TimestampStyle
-
Example: 20 April 2021 16:20
default
- longDateTime → const TimestampStyle
-
Example: Tuesday, 20 April 2021 16:20
- relativeTime → const TimestampStyle
-
Example: 2 months ago
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
TimestampStyle> - A constant List of the values in this enum, in order of their declaration.