Interface ServerVoiceChannelChangeUserLimitEvent
-
- All Superinterfaces:
ChannelEvent,Event,ServerChannelEvent,ServerEvent,ServerVoiceChannelEvent,VoiceChannelEvent
public interface ServerVoiceChannelChangeUserLimitEvent extends ServerVoiceChannelEvent
A server voice channel change user limit event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>getNewUserLimit()Gets the new user limit of the channel.java.util.Optional<java.lang.Integer>getOldUserLimit()Gets the old user limit of the channel.-
Methods inherited from interface org.javacord.api.event.channel.server.ServerChannelEvent
getServer
-
Methods inherited from interface org.javacord.api.event.channel.server.voice.ServerVoiceChannelEvent
getChannel
-
-
-
-
Method Detail
-
getNewUserLimit
java.util.Optional<java.lang.Integer> getNewUserLimit()
Gets the new user limit of the channel.- Returns:
- The new user limit of the channel.
-
getOldUserLimit
java.util.Optional<java.lang.Integer> getOldUserLimit()
Gets the old user limit of the channel.- Returns:
- The old user limit of the channel.
-
-