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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChannelUpdateAutoArchiveDurationEvent(JDA api, long responseNumber, Channel channel, ThreadChannel.AutoArchiveDuration oldValue, ThreadChannel.AutoArchiveDuration newValue) -
Method Summary
Methods inherited from class GenericChannelUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifierMethods inherited from class GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromTypeMethods inherited from class Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from interface GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface UpdateEvent
getEntityType
-
Field Details
-
FIELD
-
IDENTIFIER
-
-
Constructor Details
-
ChannelUpdateAutoArchiveDurationEvent
public ChannelUpdateAutoArchiveDurationEvent(@Nonnull JDA api, long responseNumber, Channel channel, ThreadChannel.AutoArchiveDuration oldValue, ThreadChannel.AutoArchiveDuration newValue)
-