Class ChannelUpdateDefaultThreadSlowmodeEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<Integer>
net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultThreadSlowmodeEvent
- All Implemented Interfaces:
GenericEvent,UpdateEvent<Channel,Integer>
Indicates that the
default thread slowmode of a thread container channel changed.
Can be used to retrieve the old default thread slowmode and the new one.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChannelUpdateDefaultThreadSlowmodeEvent(JDA api, long responseNumber, Channel channel, int oldValue, int newValue) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
getEntity, getPropertyIdentifierMethods inherited from class net.dv8tion.jda.api.events.channel.GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromTypeMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
FIELD
-
IDENTIFIER
-
-
Constructor Details
-
ChannelUpdateDefaultThreadSlowmodeEvent
-
-
Method Details
-
getOldValue
Description copied from class:GenericChannelUpdateEventTheChannel'sold value of the just updated field.- Specified by:
getOldValuein interfaceUpdateEvent<Channel,Integer> - Overrides:
getOldValuein classGenericChannelUpdateEvent<Integer>- Returns:
- The old value of the just updated field.
-
getNewValue
Description copied from class:GenericChannelUpdateEventTheChannel'snew value of the just updated field.- Specified by:
getNewValuein interfaceUpdateEvent<Channel,Integer> - Overrides:
getNewValuein classGenericChannelUpdateEvent<Integer>- Returns:
- The new value of the just updated field.
-