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 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)
andTyper.getPersonID()
-
-