Class PrivateChannelDeleteEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.priv.PrivateChannelDeleteEvent
-
- All Implemented Interfaces:
GenericEvent
public class PrivateChannelDeleteEvent extends Event
Indicates that aPrivate Channel
was deleted.Can be used to retrieve the issuing
User
.
-
-
Constructor Summary
Constructors Constructor Description PrivateChannelDeleteEvent(JDA api, long responseNumber, PrivateChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateChannel
getChannel()
ThePrivateChannel
User
getUser()
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
PrivateChannelDeleteEvent
public PrivateChannelDeleteEvent(@Nonnull JDA api, long responseNumber, @Nonnull PrivateChannel channel)
-
-
Method Detail
-
getChannel
@Nonnull public PrivateChannel getChannel()
ThePrivateChannel
- Returns:
- The PrivateChannel
-
-