Package zendesk.chat.client
Class ChatLog.Message
- java.lang.Object
-
- zendesk.chat.client.ChatLog
-
- zendesk.chat.client.ChatLog.Message
-
- Enclosing class:
- ChatLog
public static class ChatLog.Message extends ChatLog
Chat log with an additional message field.This log is generated each time the visitor, an agent or any other
ChatParticipant
sent a message.Sample code to determine all messages in the chat looks as follows:
val chatMessages = chatState.chatLogs.filterIsInstance<ChatLog.Message>()
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class zendesk.chat.client.ChatLog
ChatLog.AttachmentMessage, ChatLog.Comment, ChatLog.Message, ChatLog.Rating, ChatLog.Type
-
-
Field Summary
-
Fields inherited from class zendesk.chat.client.ChatLog
TIMESTAMP_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(java.lang.Object o)
java.lang.String
getMessage()
Gets the message sent by theChatParticipant
.int
hashCode()
-
Methods inherited from class zendesk.chat.client.ChatLog
getChatParticipant, getDeliveryStatus, getDisplayName, getId, getLastModifiedTimestamp, getNick, getType
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Gets the message sent by theChatParticipant
.- Returns:
- Text message
- See Also:
ChatLog.getChatParticipant()
-
-