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 GenericStageInstanceUpdateEvent
getEntity, getPropertyIdentifierMethods inherited from class GenericStageInstanceEvent
getChannel, getInstanceMethods inherited from class GenericGuildEvent
getGuildMethods inherited from class Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from interface GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface 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
-