Class ChannelUpdateArchiveTimestampEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<OffsetDateTime>
net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
- All Implemented Interfaces:
GenericEvent, UpdateEvent<Channel, OffsetDateTime>
Indicates that a
Channel's archival timestamp was updated.
This timestamp will be updated when any of the following happens:
- The channel is archived
- The channel is unarchived
- The AUTO_ARCHIVE_DURATION is changed
Thread Channels.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChannelUpdateArchiveTimestampEvent(JDA api, long responseNumber, Channel channel, long oldValue, long newValue) -
Method Summary
Methods inherited from class GenericChannelUpdateEvent
getEntity, 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
-
ChannelUpdateArchiveTimestampEvent
-
-
Method Details
-
getOldValue
Description copied from class:GenericChannelUpdateEventTheChannel'sold value of the just updated field.- Specified by:
getOldValuein interfaceUpdateEvent<Channel, OffsetDateTime>- Overrides:
getOldValuein classGenericChannelUpdateEvent<OffsetDateTime>- Returns:
- The old value of the just updated field.
-
getNewValue
Description copied from class:GenericChannelUpdateEventTheChannel'snew value of the just updated field.- Specified by:
getNewValuein interfaceUpdateEvent<Channel, OffsetDateTime>- Overrides:
getNewValuein classGenericChannelUpdateEvent<OffsetDateTime>- Returns:
- The new value of the just updated field.
-