Class MessageEvent

All Implemented Interfaces:
Jsonable

public final class MessageEvent extends Event
Represents a EventType.MESSAGE event. All possible fields are presented and accessible, but only those applicable to the message type will be populated. Use getMessageType() to determine the type of message, and query the other fields accordingly.