Class GenericStageInstanceEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.stage.GenericStageInstanceEvent
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GenericStageInstanceUpdateEvent, StageInstanceCreateEvent, StageInstanceDeleteEvent
Indicates that a
Every StageInstanceEvent is derived from this event and can be casted.
StageInstance was created/deleted/changed.
Every StageInstanceEvent is derived from this event and can be casted.
Can be used to detect any StageInstanceEvent.
-
Constructor Summary
ConstructorsConstructorDescriptionGenericStageInstanceEvent(JDA api, long responseNumber, StageInstance stageInstance) -
Method Summary
Modifier and TypeMethodDescriptionTheStageChannelthis instance belongs toThe affectedStageInstanceMethods inherited from class GenericGuildEvent
getGuildMethods inherited from class Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GenericStageInstanceEvent
public GenericStageInstanceEvent(@Nonnull JDA api, long responseNumber, @Nonnull StageInstance stageInstance)
-
-
Method Details
-
getInstance
-
getChannel
TheStageChannelthis instance belongs to- Returns:
- The StageChannel
-