Class GenericScheduledEventGatewayEvent

java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventGatewayEvent
All Implemented Interfaces:
GenericEvent
Direct Known Subclasses:
GenericScheduledEventUpdateEvent, GenericScheduledEventUserEvent, ScheduledEventCreateEvent, ScheduledEventDeleteEvent

public abstract class GenericScheduledEventGatewayEvent extends GenericGuildEvent
Indicates that a gateway event relating to a ScheduledEvent has been fired.

It should be noted that a ScheduledEvent is not an actual gateway event found in the net.dv8tion.jda.api.events package, but are rather entities similar to User or TextChannel objects representing a scheduled event.

Requirements

These events require the SCHEDULED_EVENTS intent and CacheFlag.SCHEDULED_EVENTS to be enabled.
createDefault(String) and createLight(String) disable this by default!

This class may be used to check if a gateway event is related to a ScheduledEvent as all gateway events in the net.dv8tion.jda.api.events.guild.scheduledevent package extend this class.