Interface ServerTextChannelChangeDefaultAutoArchiveDurationEvent
-
- All Superinterfaces:
ChannelEvent,Event,ServerChannelEvent,ServerEvent,ServerTextChannelEvent,TextChannelEvent
public interface ServerTextChannelChangeDefaultAutoArchiveDurationEvent extends ServerTextChannelEvent
An event signalling a change in the default auto archive duration settings for a channel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAutoArchiveDuration()Gets the new default auto archive duration of the channel.intgetOldDefaultAutoArchiveDuration()Gets the old default auto archive duration of the channel.-
Methods inherited from interface org.javacord.api.event.channel.server.ServerChannelEvent
getServer
-
Methods inherited from interface org.javacord.api.event.channel.server.text.ServerTextChannelEvent
getChannel
-
Methods inherited from interface org.javacord.api.event.channel.TextChannelEvent
getPrivateChannel, getServerTextChannel, getServerThreadChannel
-
-
-
-
Method Detail
-
getOldDefaultAutoArchiveDuration
int getOldDefaultAutoArchiveDuration()
Gets the old default auto archive duration of the channel.- Returns:
- The default auto archive duration in seconds.
-
getAutoArchiveDuration
int getAutoArchiveDuration()
Gets the new default auto archive duration of the channel.- Returns:
- The default auto archive duration in seconds.
-
-