public abstract class MessageEvent extends Event
The content of the message sent by the chat event is HTML encoded: this class will unescape the HTML entities.
Modifier and Type | Method and Description |
---|---|
Message |
getMessage()
Returns the message that triggered this event, at the time the event was raised.
|
getInstant, getRoom, getRoomId, getUser, getUserId, getUserName
public Message getMessage()
The returned message will not be updated with regards to, e.g, stars or edits that were made after this event.
If an updated message is needed, refer to Room.getMessage(long)
.