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 newEmojiUnionfor theForumTagThe oldEmojiUnionfor theForumTagMethods inherited from class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifierMethods inherited from class net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
getChannel, getTagMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumberMethods 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 oldEmojiUnionfor theForumTag- Returns:
- The old
EmojiUnion
-
getNewEmoji
The newEmojiUnionfor theForumTag- Returns:
- The new
EmojiUnion
-