ISnowflakepublic 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() |
getCreationTimepublic 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