Class ChannelUpdateAutoArchiveDurationEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<ThreadChannel.AutoArchiveDuration>
net.dv8tion.jda.api.events.channel.update.ChannelUpdateAutoArchiveDurationEvent
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<Channel,
ThreadChannel.AutoArchiveDuration>
public class ChannelUpdateAutoArchiveDurationEvent
extends GenericChannelUpdateEvent<ThreadChannel.AutoArchiveDuration>
Indicates that a
Channel's
auto archive duration has been updated.
Can be used to retrieve the old auto archive duration and the new one.
Limited to Thread Channels
.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChannelUpdateAutoArchiveDurationEvent
(JDA api, long responseNumber, Channel channel, ThreadChannel.AutoArchiveDuration oldValue, ThreadChannel.AutoArchiveDuration newValue) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
getEntity, getNewValue, getOldValue, 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
-
ChannelUpdateAutoArchiveDurationEvent
public ChannelUpdateAutoArchiveDurationEvent(@Nonnull JDA api, long responseNumber, Channel channel, ThreadChannel.AutoArchiveDuration oldValue, ThreadChannel.AutoArchiveDuration newValue)
-