Class ServerThreadChannelChangeMessageCountEventImpl
- java.lang.Object
-
- org.javacord.core.event.EventImpl
-
- org.javacord.core.event.server.ServerEventImpl
-
- org.javacord.core.event.channel.server.ServerChannelEventImpl
-
- org.javacord.core.event.channel.server.thread.ServerThreadChannelEventImpl
-
- org.javacord.core.event.channel.server.thread.ServerThreadChannelChangeMessageCountEventImpl
-
- All Implemented Interfaces:
ChannelEvent
,ServerChannelEvent
,ServerThreadChannelChangeMessageCountEvent
,ServerThreadChannelEvent
,Event
,ServerEvent
public class ServerThreadChannelChangeMessageCountEventImpl extends ServerThreadChannelEventImpl implements ServerThreadChannelChangeMessageCountEvent
The implementation ofServerThreadChannelChangeMessageCountEvent
.
-
-
Constructor Summary
Constructors Constructor Description ServerThreadChannelChangeMessageCountEventImpl(ServerThreadChannel channel, int newMessageCount, int oldMessageCount)
Creates a new server text channel message count update event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNewMessageCount()
int
getOldMessageCount()
-
Methods inherited from class org.javacord.core.event.channel.server.thread.ServerThreadChannelEventImpl
getApi, getChannel
-
Methods inherited from class org.javacord.core.event.server.ServerEventImpl
getServer
-
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.server.ServerChannelEvent
getServer
-
Methods inherited from interface org.javacord.api.event.channel.server.thread.ServerThreadChannelEvent
getChannel
-
-
-
-
Constructor Detail
-
ServerThreadChannelChangeMessageCountEventImpl
public ServerThreadChannelChangeMessageCountEventImpl(ServerThreadChannel channel, int newMessageCount, int oldMessageCount)
Creates a new server text channel message count update event.- Parameters:
channel
- The channel of the event.newMessageCount
- The new count of messages in this thread.oldMessageCount
- The old count of messages in this thread.
-
-
Method Detail
-
getNewMessageCount
public int getNewMessageCount()
- Specified by:
getNewMessageCount
in interfaceServerThreadChannelChangeMessageCountEvent
-
getOldMessageCount
public int getOldMessageCount()
- Specified by:
getOldMessageCount
in interfaceServerThreadChannelChangeMessageCountEvent
-
-