Class PrivateChannelDeleteEvent
- java.lang.Object
-
- net.dv8tion.jda.core.events.Event
-
- net.dv8tion.jda.core.events.channel.priv.PrivateChannelDeleteEvent
-
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.core.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
PrivateChannelDeleteEvent
public PrivateChannelDeleteEvent(JDA api, long responseNumber, PrivateChannel channel)
-
-
Method Detail
-
getUser
public User getUser()
- Returns:
- The User
-
getChannel
public PrivateChannel getChannel()
ThePrivateChannel
- Returns:
- The PrivateChannel
-
-