Class ChannelUpdateArchivedEvent

All Implemented Interfaces:
GenericEvent, UpdateEvent<Channel,Boolean>

public class ChannelUpdateArchivedEvent extends GenericChannelUpdateEvent<Boolean>
Indicates that a Channel's archived state has been updated.

Can be used to retrieve the old archived state and the new one.

Limited to Thread Channels.

See Also:
  • Field Details

    • FIELD

      public static final ChannelField FIELD
    • IDENTIFIER

      public static final String IDENTIFIER
  • Constructor Details

    • ChannelUpdateArchivedEvent

      public ChannelUpdateArchivedEvent(@Nonnull JDA api, long responseNumber, Channel channel, Boolean oldValue, Boolean newValue)