public static class MessageReaction.ReactionEmote extends java.lang.Object implements ISnowflake
| Constructor and Description |
|---|
ReactionEmote(Emote emote) |
ReactionEmote(java.lang.String name,
java.lang.Long id,
JDA api) |
| Modifier and Type | Method and 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
|
boolean |
isEmote()
Whether this is an
Emote
wrapper. |
java.lang.String |
toString() |
getClass, hashCode, notify, notifyAll, wait, wait, waitgetCreationTimepublic 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()
ISnowflakegetId in interface ISnowflakepublic long getIdLong()
ISnowflakegetIdLong in interface ISnowflakepublic java.lang.String getName()
public Emote getEmote()
public JDA getJDA()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object