Class ChannelUpdateAppliedTagsEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<List<Long>>
net.dv8tion.jda.api.events.channel.update.ChannelUpdateAppliedTagsEvent
- All Implemented Interfaces:
GenericEvent,UpdateEvent<Channel,List<Long>>
Indicates that the tags applied to a
forum post thread have been updated.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChannelUpdateAppliedTagsEvent(JDA api, long responseNumber, ThreadChannel channel, List<Long> oldValue, List<Long> newValue) -
Method Summary
Modifier and TypeMethodDescriptionThe newly added tags.The new list of applied tags.The new valueThe old list of applied tags.The old valueThe removed tags.Methods inherited from class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
getEntity, getPropertyIdentifierMethods inherited from class net.dv8tion.jda.api.events.channel.GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromTypeMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumberMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, 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
-
Constructor Details
-
ChannelUpdateAppliedTagsEvent
-
-
Method Details
-
getAddedTags
The newly added tags.This requires
CacheFlag.FORUM_TAGSto be enabled.- Returns:
- The tags that were added to the post
-
getRemovedTags
The removed tags.This requires
CacheFlag.FORUM_TAGSto be enabled.- Returns:
- The tags that were removed from the post
-
getNewTags
The new list of applied tags.This requires
CacheFlag.FORUM_TAGSto be enabled.- Returns:
- The updated list of applied tags
-
getOldTags
The old list of applied tags.This requires
CacheFlag.FORUM_TAGSto be enabled.- Returns:
- The previous list of applied tags
-
getOldValue
Description copied from interface:UpdateEventThe old value- Specified by:
getOldValuein interfaceUpdateEvent<Channel,List<Long>> - Overrides:
getOldValuein classGenericChannelUpdateEvent<List<Long>>- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEventThe new value- Specified by:
getNewValuein interfaceUpdateEvent<Channel,List<Long>> - Overrides:
getNewValuein classGenericChannelUpdateEvent<List<Long>>- Returns:
- The new value
-