ISnowflake
public static class MessageReaction.ReactionEmote extends java.lang.Object implements ISnowflake
Constructor | Description |
---|---|
ReactionEmote(java.lang.String name,
java.lang.Long id,
JDA api) |
|
ReactionEmote(Emote emote) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
Emote |
getEmote() |
The instance of
Emote
for the Reaction instance. |
java.lang.String |
getId() |
The Snowflake id of this entity.
|
long |
getIdLong() |
The Snowflake id of this entity.
|
JDA |
getJDA() |
The current JDA instance for the Reaction
|
java.lang.String |
getName() |
The name for this emote/emoji
For unicode emojis this will be the unicode of said emoji. |
boolean |
isEmote() |
Whether this is an
Emote
wrapper. |
java.lang.String |
toString() |
getCreationTime
public ReactionEmote(java.lang.String name, java.lang.Long id, JDA api)
public ReactionEmote(Emote emote)
public boolean isEmote()
Emote
wrapper.getId()
is not nullpublic java.lang.String getId()
ISnowflake
getId
in interface ISnowflake
public long getIdLong()
ISnowflake
getIdLong
in interface ISnowflake
public java.lang.String getName()
public Emote getEmote()
public JDA getJDA()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object