Package 

Class LegacyChatMessage


  • @Deprecated(message = Deprecated in favor of ReceivedChatMessage)@Serializable() 
    public final class LegacyChatMessage
    
                        

    A chat message.

    • Method Summary

      Modifier and Type Method Description
      final String getId() The identifier for the message
      final Long getTimestamp() Millis since UNIX epoch
      final String getMessage() The message
      final Participant getParticipant() The participant who sent to message, if available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LegacyChatMessage

        LegacyChatMessage(String id, Long timestamp, String message, Participant participant, Boolean ignoreLegacy)
    • Method Detail

      • getId

         final String getId()

        The identifier for the message

      • getParticipant

         final Participant getParticipant()

        The participant who sent to message, if available.

        Messages sent by the server will have a null participant.