Class ForumTagUpdateEmojiEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent<EmojiUnion>
net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateEmojiEvent
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<ForumTag,
EmojiUnion>
Indicates that the
emoji
of a ForumTag
changed.
Requirements
This requires CacheFlag.FORUM_TAGS
to be enabled.
JDABuilder.createLight(...)
disables this by default.
Identifier: emoji
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionForumTagUpdateEmojiEvent
(JDA api, long responseNumber, IPostContainer channel, ForumTag tag, EmojiUnion previous) -
Method Summary
Modifier and TypeMethodDescriptionThe newEmojiUnion
for theForumTag
The oldEmojiUnion
for theForumTag
Methods inherited from class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
getChannel, getTag
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumber
Methods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
ForumTagUpdateEmojiEvent
public ForumTagUpdateEmojiEvent(@Nonnull JDA api, long responseNumber, @Nonnull IPostContainer channel, @Nonnull ForumTag tag, @Nullable EmojiUnion previous)
-
-
Method Details
-
getOldEmoji
The oldEmojiUnion
for theForumTag
- Returns:
- The old
EmojiUnion
-
getNewEmoji
The newEmojiUnion
for theForumTag
- Returns:
- The new
EmojiUnion
-