public interface

ChatMessage

com.salesforce.android.chat.core.model.ChatMessage

Class Overview

Contains data representing a Chat Message that has been received from the Agent.

Summary

Public Methods
abstract String getAgentId()
The ID of the agent who sent the chat message
abstract String getAgentName()
The name of the agent who sent the chat message
abstract String getText()
The text of the chat message.
abstract Date getTimestamp()
The date and time at which the message was received.

Public Methods

public abstract String getAgentId ()

The ID of the agent who sent the chat message

Returns
  • Agent ID

public abstract String getAgentName ()

The name of the agent who sent the chat message

Returns
  • Agent name

public abstract String getText ()

The text of the chat message.

Returns
  • Message text

public abstract Date getTimestamp ()

The date and time at which the message was received.

Returns