Bold360 and BoldChat Developer Center

Message

com.boldchat.visitor.api

Class Message

  • java.lang.Object
    • com.boldchat.visitor.api.Message


  • public class Message
    extends java.lang.Object
    The container class for all information about a specific message.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.util.Date getCreated() 
      long getMessageID() 
      java.lang.String getName() 
      long getPersonID() 
      PersonType getPersonType() 
      java.lang.String getText() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCreated

        public java.util.Date getCreated()
        Returns:
        The date the message was created.
      • getText

        public java.lang.String getText()
        Returns:
        The text of the message
      • getPersonType

        public PersonType getPersonType()
        Returns:
        The type of person that sent the message
      • getName

        public java.lang.String getName()
        Returns:
        The name of the person that sent the message, or null if not configured.
      • getMessageID

        public long getMessageID()
        Returns:
        The ID of the message
      • getPersonID

        public long getPersonID()
        Returns:
        The ID of the person that sent the message, this corresponds to values from ChatTyperListener.onTyperUpdated(Typer) and Typer.getPersonID()