GuildEmoji class

Inheritance
Implemented types

Properties

animated bool
whether this emoji is animated
latefinal
cdnUrl String
Returns cdn url to emoji
no setterinherited
client INyxx
Reference to client
final
createdAt DateTime
Gets creation timestamp included in Snowflake
no setterinherited
guild Cacheable<Snowflake, Guild>
Reference to guild where emoji belongs to
latefinal
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 setteroverride
managed bool
whether this emoji is managed
latefinal
requireColons bool
whether this emoji must be wrapped in colons
latefinal
roles Iterable<Cacheable<Snowflake, Role>>
Roles which can use this emote
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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
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
Returns encoded string ready to send via message.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
inherited