public abstract class PingMessageEvent extends MessageEvent
:{messageId}
chat feature) or mentions a user (with the @{userName}
chat feature).
It is a notification sent to the user, that will also appear in their global inbox, if not acknowleged before that.
Modifier and Type | Method and Description |
---|---|
long |
getParentMessageId()
Returns the message id that this event's message is pinging.
|
long |
getTargetUserId()
Returns the user id that was pinged by this event.
|
getMessage
getInstant, getRoom, getRoomId, getUser, getUserId, getUserName
public long getTargetUserId()
public long getParentMessageId()
If the parent message cannot be found, for example in the case where the parent message pinged several users at the same time,
this returns -1
.
-1
if the message cannot be found.