Class PrivateChannelDeleteEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.priv.PrivateChannelDeleteEvent
-
- All Implemented Interfaces:
GenericEvent
@Deprecated @ForRemoval(deadline="4.4.0") @DeprecatedSince("4.3.0") public class PrivateChannelDeleteEvent extends Event
Deprecated.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)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PrivateChannel
getChannel()
Deprecated.ThePrivateChannel
User
getUser()
Deprecated.-
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)
Deprecated.
-
-
Method Detail
-
getUser
@Nonnull public User getUser()
Deprecated.- Returns:
- The User
-
getChannel
@Nonnull public PrivateChannel getChannel()
Deprecated.ThePrivateChannel
- Returns:
- The PrivateChannel
-
-