IBaseGuildEmoji class abstract

Implemented types
Implementers

Constructors

IBaseGuildEmoji.fromId(Snowflake id, INyxx client)
Creates partial emoji from given String or Snowflake.
factory

Properties

animated bool
Whether this emoji is animated.
no setter
client INyxx
Reference to INyxx.
no setter
createdAt DateTime
Gets creation timestamp included in Snowflake
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
ID of entity as Snowflake
finalinherited
isPartial bool
True if emoji is partial.
no setter
name String
The name of the emoji.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cdnUrl({String format = 'webp', int? size, bool animated = true}) String
Returns the CDN URL for this emoji with given format and size. If animated is set as true, an animated version of the emoji (if applicable) will be displayed.
encodeForAPI() String
Returns encoded emoji for API usage
inherited
formatForMessage() String
Returns encoded emoji for usage in message
inherited
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 ==(dynamic other) bool
The equality operator.
inherited