Class UserInteractionEvent

    • Method Detail

      • getTargetId

        public Snowflake getTargetId()
        Gets the ID of the targeted User.
        Returns:
        The ID of the targeted User.
      • getTargetUser

        public Mono<User> getTargetUser()
        Requests to retrieve the targeted User.
        Returns:
        A Mono where, upon successful completion, emits the User targeted by the user. If an error is received, it is emitted through the Mono.
      • getTargetUser

        public Mono<User> getTargetUser​(EntityRetrievalStrategy retrievalStrategy)
        Requests to retrieve the targeted User.
        Parameters:
        retrievalStrategy - The strategy to use to get the target User
        Returns:
        A Mono where, upon successful completion, emits the User targeted by the user. If an error is received, it is emitted through the Mono.