Class GenericPrivateMessageReactionEvent

    • Constructor Detail

      • GenericPrivateMessageReactionEvent

        public GenericPrivateMessageReactionEvent​(@Nonnull
                                                  JDA api,
                                                  long responseNumber,
                                                  @Nonnull
                                                  MessageReaction reaction,
                                                  long userId)
    • Method Detail

      • getUserId

        @Nonnull
        public String getUserId()
        The id for the user who added/removed their reaction.
        Returns:
        The user id
      • getUserIdLong

        public long getUserIdLong()
        The id for the user who added/removed their reaction.
        Returns:
        The user id
      • getUser

        @Nullable
        public User getUser()
        The reacting User
        This might be missing if the user was not cached.
        Returns:
        The reacting user