GuildEmoji class
A custom guild emoji.
- Inheritance
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The id of this entity.
finalinherited
- image → CdnAsset
-
This emoji's image.
no setter
- isAnimated → bool?
-
Whether this emoji is animated.
final
- isAvailable → bool?
-
Whether this emoji can be used, may be false due to loss of Server Boosts.
final
- isManaged → bool?
-
Whether this emoji is managed.
final
- manager → EmojiManager
-
The manager for this entity.
finalinherited
- name → String?
-
The emoji's name. Can be
dartlang
for a custom emoji, or❤️
for a text emoji.final - requiresColons → bool?
-
Whether this emoji must be wrapped in colons.
final
-
roleIds
→ List<
Snowflake> ? -
Id of roles allowed to use this emoji.
final
-
roles
→ List<
PartialRole> ? -
The roles allowed to use this emoji.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → User?
-
The user that created this emoji.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
delete(
) → Future< void> -
Delete this entity.
inherited
-
fetch(
) → Future< Emoji> -
Fetch this entity from the API.
inherited
-
get(
) → Future< Emoji> -
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch
this entity and return it.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
covariant UpdateBuilder< Emoji> builder) → Future<Emoji> -
Update this entity using the provided builder and return the updated entity.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited