Class StageInstanceUpdateTopicEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.stage.GenericStageInstanceEvent
net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent<String>
net.dv8tion.jda.api.events.stage.update.StageInstanceUpdateTopicEvent
- All Implemented Interfaces:
GenericEvent,UpdateEvent<StageInstance,String>
Indicates that a
StageInstance updated its topic.
Can be used to retrieve the topic.
Identifier: topic
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStageInstanceUpdateTopicEvent(JDA api, long responseNumber, StageInstance stageInstance, String previous) -
Method Summary
Modifier and TypeMethodDescriptionThe new valueThe old valueMethods inherited from class net.dv8tion.jda.api.events.stage.update.GenericStageInstanceUpdateEvent
getEntity, getPropertyIdentifierMethods inherited from class net.dv8tion.jda.api.events.stage.GenericStageInstanceEvent
getChannel, getInstanceMethods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuildMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
StageInstanceUpdateTopicEvent
public StageInstanceUpdateTopicEvent(@Nonnull JDA api, long responseNumber, @Nonnull StageInstance stageInstance, String previous)
-
-
Method Details
-
getOldValue
Description copied from interface:UpdateEventThe old value- Specified by:
getOldValuein interfaceUpdateEvent<StageInstance,String> - Overrides:
getOldValuein classGenericStageInstanceUpdateEvent<String>- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEventThe new value- Specified by:
getNewValuein interfaceUpdateEvent<StageInstance,String> - Overrides:
getNewValuein classGenericStageInstanceUpdateEvent<String>- Returns:
- The new value
-