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, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.channel.GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromType
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
-
Constructor Details
-
ChannelUpdateAppliedTagsEvent
-
-
Method Details
-
getAddedTags
The newly added tags.This requires
CacheFlag.FORUM_TAGS
to be enabled.- Returns:
- The tags that were added to the post
-
getRemovedTags
The removed tags.This requires
CacheFlag.FORUM_TAGS
to be enabled.- Returns:
- The tags that were removed from the post
-
getNewTags
The new list of applied tags.This requires
CacheFlag.FORUM_TAGS
to be enabled.- Returns:
- The updated list of applied tags
-
getOldTags
The old list of applied tags.This requires
CacheFlag.FORUM_TAGS
to be enabled.- Returns:
- The previous list of applied tags
-
getOldValue
Description copied from interface:UpdateEvent
The old value- Specified by:
getOldValue
in interfaceUpdateEvent<Channel,
List<Long>> - Overrides:
getOldValue
in classGenericChannelUpdateEvent<List<Long>>
- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEvent
The new value- Specified by:
getNewValue
in interfaceUpdateEvent<Channel,
List<Long>> - Overrides:
getNewValue
in classGenericChannelUpdateEvent<List<Long>>
- Returns:
- The new value
-