Class ChannelUpdateLockedEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<Boolean>
net.dv8tion.jda.api.events.channel.update.ChannelUpdateLockedEvent
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<Channel,
Boolean>
Indicates that a
Channel's
locked state has been updated.
Can be used to retrieve the old locked state and the new one.
Limited to Thread Channels
.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChannelUpdateLockedEvent
(JDA api, long responseNumber, Channel channel, Boolean oldValue, Boolean newValue) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.channel.GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromType
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumber
Methods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
FIELD
-
IDENTIFIER
-
-
Constructor Details
-
ChannelUpdateLockedEvent
-