Class PrivateChannelCreateEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.priv.PrivateChannelCreateEvent
-
- All Implemented Interfaces:
GenericEvent
@Deprecated @ForRemoval(deadline="4.4.0") @DeprecatedSince("4.3.0") public class PrivateChannelCreateEvent extends Event
Deprecated.This event is no longer supported by discordIndicates that aPrivate Channel
was created.Can be used to retrieve the created private channel and its
User
.
-
-
Constructor Summary
Constructors Constructor Description PrivateChannelCreateEvent(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
-
PrivateChannelCreateEvent
public PrivateChannelCreateEvent(@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
-
-