Class ChannelUpdateInvitableEvent

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

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

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

Limited to Thread Channels.

See Also:
  • Field Details

    • FIELD

      public static final ChannelField FIELD

      public static final String IDENTIFIER
  • Constructor Details

    • ChannelUpdateInvitableEvent

      public ChannelUpdateInvitableEvent(@Nonnull JDA api, long responseNumber, Channel channel, boolean oldValue, boolean newValue)