Class PrivateChannelEventImpl
- java.lang.Object
-
- org.javacord.core.event.EventImpl
-
- org.javacord.core.event.user.UserEventImpl
-
- org.javacord.core.event.channel.user.PrivateChannelEventImpl
-
- All Implemented Interfaces:
ChannelEvent
,PrivateChannelEvent
,Event
,UserEvent
- Direct Known Subclasses:
PrivateChannelCreateEventImpl
,PrivateChannelDeleteEventImpl
public abstract class PrivateChannelEventImpl extends UserEventImpl 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 PrivateChannel
getChannel()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.javacord.core.event.user.UserEventImpl
getUser
-
-
-
-
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
-
-