Class GenericThreadEvent

java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.thread.GenericThreadEvent
All Implemented Interfaces:
GenericEvent
Direct Known Subclasses:
GenericThreadMemberEvent, ThreadHiddenEvent, ThreadRevealedEvent

public class GenericThreadEvent extends Event
Top-level thread event type
All thread events JDA fires are derived from this class.

Can be used to check if an Object is a JDA event in EventListener implementations to distinguish what event is being fired.
Adapter implementation: ListenerAdapter