Class GenericUserEvent

All Implemented Interfaces:
Direct Known Subclasses:
GenericUserUpdateEvent, UserActivityEndEvent, UserActivityStartEvent, UserTypingEvent

public abstract class GenericUserEvent extends Event
Indicates that a User changed or started an activity.
Every UserEvent is derived from this event and can be casted.

Can be used to detect any UserEvent.

  • Constructor Details

  • Method Details

    • getUser

      @Nonnull public User getUser()
      The related user instance
      The user instance related to this event