Class ChannelUpdateTopicEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<String>
net.dv8tion.jda.api.events.channel.update.ChannelUpdateTopicEvent
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<Channel,
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
.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChannelUpdateTopicEvent
(JDA api, long responseNumber, Channel channel, String oldValue, String newValue) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.channel.GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromType
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumber
Methods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
FIELD
-
IDENTIFIER
-
-
Constructor Details
-
ChannelUpdateTopicEvent
-