Class ChannelUpdateDefaultReactionEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<EmojiUnion>
net.dv8tion.jda.api.events.channel.update.ChannelUpdateDefaultReactionEvent
- All Implemented Interfaces:
GenericEvent, UpdateEvent<Channel, EmojiUnion>
Indicates that the
default reaction emoji of a IPostContainer changed.
Can be used to retrieve the old default reaction and the new one.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChannelUpdateDefaultReactionEvent(JDA api, long responseNumber, IPostContainer channel, EmojiUnion oldValue, EmojiUnion newValue) -
Method Summary
Methods inherited from class GenericChannelUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifierMethods inherited from class GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromTypeMethods inherited from class Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from interface GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface UpdateEvent
getEntityType
-
Field Details
-
FIELD
-
IDENTIFIER
-
-
Constructor Details
-
ChannelUpdateDefaultReactionEvent
public ChannelUpdateDefaultReactionEvent(@Nonnull JDA api, long responseNumber, @Nonnull IPostContainer channel, @Nullable EmojiUnion oldValue, @Nullable EmojiUnion newValue)
-