Class PrivateMessageReactionAddEvent
- 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.PrivateMessageReactionAddEvent
-
- All Implemented Interfaces:
GenericEvent
public class PrivateMessageReactionAddEvent extends GenericPrivateMessageReactionEvent
Indicates that aMessageReaction
was added to a Message in a PrivateChannel.Can be used to detect when a reaction is added in a private channel.
Requirements
This event requires the
DIRECT_MESSAGE_REACTIONS
intent to be enabled.
-
-
Constructor Summary
Constructors Constructor Description PrivateMessageReactionAddEvent(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
-
PrivateMessageReactionAddEvent
public PrivateMessageReactionAddEvent(@Nonnull JDA api, long responseNumber, @Nonnull MessageReaction reaction, long userId)
-
-