Class PrivateChannelEventImpl
- java.lang.Object
-
- org.javacord.core.event.channel.user.PrivateChannelEventImpl
-
- All Implemented Interfaces:
ChannelEvent
,PrivateChannelEvent
,Event
- Direct Known Subclasses:
PrivateChannelCreateEventImpl
,PrivateChannelDeleteEventImpl
public abstract class PrivateChannelEventImpl extends Object implements PrivateChannelEvent
The implementation ofPrivateChannelEvent
.
-
-
Constructor Summary
Constructors Constructor Description PrivateChannelEventImpl(PrivateChannel channel)
Creates a new private channel event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscordApi
getApi()
PrivateChannel
getChannel()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.javacord.api.event.channel.user.PrivateChannelEvent
getRecipient
-
-
-
-
Constructor Detail
-
PrivateChannelEventImpl
public PrivateChannelEventImpl(PrivateChannel channel)
Creates a new private channel event.- Parameters:
channel
- The channel of the event.
-
-
Method Detail
-
getChannel
public PrivateChannel getChannel()
- Specified by:
getChannel
in interfaceChannelEvent
- Specified by:
getChannel
in interfacePrivateChannelEvent
-
getApi
public DiscordApi getApi()
-
-