Class ThreadHiddenEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.thread.GenericThreadEvent
-
- net.dv8tion.jda.api.events.thread.ThreadHiddenEvent
-
- All Implemented Interfaces:
GenericEvent
public class ThreadHiddenEvent extends GenericThreadEvent
This event is dispatched when aThreadChannel
that JDA did have access to is now inaccessible (due to permissions).
For example, if JDA can no longer access a TextChannel due to a change in permissions, this event will be dispatched for each child ThreadChannel of that channel.- See Also:
ThreadRevealedEvent
-
-
Constructor Summary
Constructors Constructor Description ThreadHiddenEvent(JDA api, long responseNumber, ThreadChannel thread)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.thread.GenericThreadEvent
getGuild, getThread
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
ThreadHiddenEvent
public ThreadHiddenEvent(@Nonnull JDA api, long responseNumber, ThreadChannel thread)
-
-