Class ChannelUpdateUserLimitEvent

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

public class ChannelUpdateUserLimitEvent extends GenericChannelUpdateEvent<Integer>
Indicates that a Channel's user limit was updated.

Can be used to retrieve the old user limit and the new one.

Limited to Voice Channels.

See Also:
  • Field Details

    • FIELD

      public static final ChannelField FIELD

      public static final String IDENTIFIER
  • Constructor Details

    • ChannelUpdateUserLimitEvent

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