Class ChannelUpdatePositionEvent

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

public class ChannelUpdatePositionEvent extends GenericChannelUpdateEvent<Integer>
Indicates that a Channel's position has been updated.

Can be used to retrieve the old position and the new one.

Limited to IPositionableChannels (and implementations).

See Also:
  • Field Details

    • FIELD

      public static final ChannelField FIELD

      public static final String IDENTIFIER
  • Constructor Details

    • ChannelUpdatePositionEvent

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