Class GenericChannelEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
ChannelCreateEvent
,ChannelDeleteEvent
,GenericChannelUpdateEvent
public class GenericChannelEvent extends Event
-
-
Constructor Summary
Constructors Constructor Description GenericChannelEvent(JDA api, long responseNumber, Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Channel
getChannel()
ChannelType
getChannelType()
boolean
isFromType(ChannelType type)
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Method Detail
-
getChannelType
@Nonnull public ChannelType getChannelType()
-
isFromType
public boolean isFromType(ChannelType type)
-
-