IGuildEmoji class abstract

Implemented types

Constructors

IGuildEmoji()

Properties

animated bool
Whether this emoji is animated.
read-onlyinherited
client INyxx
Reference to INyxx.
read-onlyinherited
createdAt DateTime
Gets creation timestamp included in Snowflake
read-onlyinherited
guild Cacheable<Snowflake, IGuild>
Reference to guild where emoji belongs to
read-only
hashCode int
The hash code for this object.
read-onlyinherited
id Snowflake
ID of entity as Snowflake
finalinherited
isPartial bool
True if emoji is partial.
read-onlyinherited
managed bool
whether this emoji is managed
read-only
name String
The name of the emoji.
read-onlyinherited
requireColons bool
whether this emoji must be wrapped in colons
read-only
roles Iterable<Cacheable<Snowflake, IRole>>
Roles which can use this emote
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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.
inherited
delete() Future<void>
Allows to delete guild emoji
edit({String? name, List<Snowflake>? roles}) Future<void>
Allows to edit guild emoji
encodeForAPI() String
Returns encoded emoji for API usage
inherited
fetchCreator() Future<IUser>
Fetches the creator of this emoji
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