Class Event

java.lang.Object
com.github.jamesnetherton.zulip.client.api.event.Event
Direct Known Subclasses:
DeleteMessageEvent, MessageEvent, ReactionEvent, SubmessageEvent, TypingEditMessageEvent, TypingEvent, UpdateMessageEvent, UpdateMessageFlagsEvent

public class Event extends Object
Defines a Zulip event.
  • Constructor Details

    • Event

      public Event()
  • Method Details

    • getId

      public long getId()
    • getType

      public String getType()
    • getProperties

      public Map<String,Object> getProperties()
      Gets the event properties that are not mapped to a dedicated field of this class. For event types that have no dedicated Event subclass, this contains the full event payload other than the id and type.
      Returns:
      Map of event property names to values