-
@Deprecated(message = Deprecated in favor of ReceivedChatMessage)@Serializable() public final class LegacyChatMessage
A chat message.
-
-
Constructor Summary
Constructors Constructor Description LegacyChatMessage(String id, Long timestamp, String message, Participant participant, Boolean ignoreLegacy)
-
Method Summary
Modifier and Type Method Description final StringgetId()The identifier for the message final LonggetTimestamp()Millis since UNIX epoch final StringgetMessage()The message final ParticipantgetParticipant()The participant who sent to message, if available. -
-
Method Detail
-
getTimestamp
final Long getTimestamp()
Millis since UNIX epoch
-
getMessage
final String getMessage()
The message
-
getParticipant
final Participant getParticipant()
The participant who sent to message, if available.
Messages sent by the server will have a null participant.
-
-
-
-