Class ChannelUpdateTopicEvent

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

public class ChannelUpdateTopicEvent extends GenericChannelUpdateEvent<String>
Indicates that a Channel's topic has been updated.

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

Limited to NewsChannels, TextChannels, and ForumChannels.

See Also:
  • Field Details

    • FIELD

      public static final ChannelField FIELD

      public static final String IDENTIFIER
  • Constructor Details

    • ChannelUpdateTopicEvent

      public ChannelUpdateTopicEvent(@Nonnull JDA api, long responseNumber, Channel channel, String oldValue, String newValue)