Class ActivityEmojiImpl
java.lang.Object
com.mewna.catnip.entity.impl.misc.ActivityEmojiImpl
- All Implemented Interfaces:
Entity,Emoji,Emoji.ActivityEmoji,HasNullableName,Snowflake,Timestamped,RequiresCatnip
- Since:
- 10/26/19.
- Author:
- amy
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.mewna.catnip.entity.misc.Emoji
Emoji.ActivityEmoji, Emoji.CustomEmoji, Emoji.UnicodeEmojiNested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle -
Constructor Summary
ConstructorsConstructorDescriptionActivityEmojiImpl(Catnip catnip, long idAsLong, String name, boolean animated) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mewna.catnip.entity.misc.Emoji.ActivityEmoji
custom, forMessage, forReaction, id, is, managed, requiresColons, roles, userMethods inherited from interface com.mewna.catnip.entity.partials.Snowflake
creationTime, creationTimestampMethods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Constructor Details
-
ActivityEmojiImpl
public ActivityEmojiImpl() -
ActivityEmojiImpl
-
-
Method Details
-
catnip
- Specified by:
catnipin interfaceRequiresCatnip
-
builder
-
catnip
Description copied from interface:EntityReturns the catnip instance associated with this entity. -
idAsLong
public long idAsLong()Description copied from interface:SnowflakeThe ID of this snowflake, as a long. -
name
Description copied from interface:EmojiName of this emoji, if it'scustom, or it'sunicodevalue.
This may be null in the case of reactions.- Specified by:
namein interfaceEmoji- Specified by:
namein interfaceHasNullableName- Returns:
- String representing the name or unicode value.
-
animated
public boolean animated()Description copied from interface:EmojiWhether this emoji is animated.
Always false forunicodeemoji. -
idAsLong
- Returns:
this.
-
name
- Returns:
this.
-
animated
- Returns:
this.
-