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.
Limited to ThreadChannels
inside of ForumChannels
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChannelUpdateAppliedTagsEvent
(JDA api, long responseNumber, ThreadChannel channel, List<Long> oldValue, List<Long> newValue) -
Method Summary
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
-
Field Details
-
FIELD
-
IDENTIFIER
-
-
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 class:GenericChannelUpdateEvent
TheChannel's
old value of the just updated field.- Specified by:
getOldValue
in interfaceUpdateEvent<Channel,
List<Long>> - Overrides:
getOldValue
in classGenericChannelUpdateEvent<List<Long>>
- Returns:
- The old value of the just updated field.
-
getNewValue
Description copied from class:GenericChannelUpdateEvent
TheChannel's
new value of the just updated field.- Specified by:
getNewValue
in interfaceUpdateEvent<Channel,
List<Long>> - Overrides:
getNewValue
in classGenericChannelUpdateEvent<List<Long>>
- Returns:
- The new value of the just updated field.
-