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
-
-
Constructor Summary
Constructors Constructor Description GenericThreadEvent(JDA api, long responseNumber, ThreadChannel thread)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Guild
getGuild()
ThreadChannel
getThread()
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
GenericThreadEvent
public GenericThreadEvent(@Nonnull JDA api, long responseNumber, ThreadChannel thread)
-
-
Method Detail
-
getThread
@Nonnull public ThreadChannel getThread()
-
-