Class ChannelUpdateSlowmodeEvent

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

public class ChannelUpdateSlowmodeEvent extends GenericChannelUpdateEvent<Integer>
Indicates that a Channel's slow mode has been updated.

Can be used to retrieve the old slow mode and the new one.

Limited to ISlowmodeChannels (and implementations).

See Also:
  • Field Details

    • FIELD

      public static final ChannelField FIELD

      public static final String IDENTIFIER
  • Constructor Details

    • ChannelUpdateSlowmodeEvent

      public ChannelUpdateSlowmodeEvent(@Nonnull JDA api, long responseNumber, Channel channel, Integer oldValue, Integer newValue)