Class PrivateMessageReactionRemoveEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
-
- net.dv8tion.jda.api.events.message.priv.react.GenericPrivateMessageReactionEvent
-
- net.dv8tion.jda.api.events.message.priv.react.PrivateMessageReactionRemoveEvent
-
- All Implemented Interfaces:
GenericEvent
public class PrivateMessageReactionRemoveEvent extends GenericPrivateMessageReactionEvent
Indicates that aMessageReaction
was removed from a Message in a PrivateChannel.Can be used to detect when a reaction is removed in a private channel.
Requirements
This event requires the
DIRECT_MESSAGE_REACTIONS
intent to be enabled.
-
-
Constructor Summary
Constructors Constructor Description PrivateMessageReactionRemoveEvent(JDA api, long responseNumber, MessageReaction reaction, long userId)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.message.priv.react.GenericPrivateMessageReactionEvent
getReaction, getReactionEmote, getUser, getUserId, getUserIdLong, retrieveMessage, retrieveUser
-
Methods inherited from class net.dv8tion.jda.api.events.message.priv.GenericPrivateMessageEvent
getChannel, getMessageId, getMessageIdLong
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
PrivateMessageReactionRemoveEvent
public PrivateMessageReactionRemoveEvent(@Nonnull JDA api, long responseNumber, @Nonnull MessageReaction reaction, long userId)
-
-