Package org.javacord.core.event.user
Class ChannelUserEventImpl
- java.lang.Object
-
- org.javacord.core.event.EventImpl
-
- org.javacord.core.event.user.UserEventImpl
-
- org.javacord.core.event.user.ChannelUserEventImpl
-
- All Implemented Interfaces:
ChannelEvent
,TextChannelEvent
,Event
,TextChannelUserEvent
,UserEvent
- Direct Known Subclasses:
UserStartTypingEventImpl
public abstract class ChannelUserEventImpl extends UserEventImpl implements TextChannelUserEvent
The implementation ofTextChannelUserEvent
.
-
-
Constructor Summary
Constructors Constructor Description ChannelUserEventImpl(User user, TextChannel channel)
Creates a new text channel user event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextChannel
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.TextChannelEvent
getGroupChannel, getPrivateChannel, getServerTextChannel
-
Methods inherited from class org.javacord.core.event.user.UserEventImpl
getUser
-
-
-
-
Constructor Detail
-
ChannelUserEventImpl
public ChannelUserEventImpl(User user, TextChannel channel)
Creates a new text channel user event.- Parameters:
user
- The user of the event.channel
- The text channel of the event.
-
-
Method Detail
-
getChannel
public TextChannel getChannel()
- Specified by:
getChannel
in interfaceChannelEvent
- Specified by:
getChannel
in interfaceTextChannelEvent
-
-