Class GenericForumTagEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
ForumTagAddEvent,ForumTagRemoveEvent,GenericForumTagUpdateEvent
Abstraction of all tags relating to
ForumTag changes (excluding ThreadChannel.getAppliedTags()).
Requirements
This requires CacheFlag.FORUM_TAGS to be enabled.
JDABuilder.createLight(...) disables this by default.
-
Constructor Summary
ConstructorsConstructorDescriptionGenericForumTagEvent(JDA api, long responseNumber, IPostContainer channel, ForumTag tag) -
Method Summary
Modifier and TypeMethodDescriptionTheIPostContainerwhich has been updated.getTag()TheForumTagthat was affected by this eventMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GenericForumTagEvent
-
-
Method Details
-
getChannel
TheIPostContainerwhich has been updated.- Returns:
- The
IPostContainer
-
getTag
TheForumTagthat was affected by this event- Returns:
- The
ForumTag
-