Package zendesk.chat.client
Class ChatLog.AttachmentMessage
- java.lang.Object
-
- zendesk.chat.client.ChatLog
-
- zendesk.chat.client.ChatLog.AttachmentMessage
-
- Enclosing class:
- ChatLog
public static class ChatLog.AttachmentMessage extends ChatLog
Chat log with an additional attachment field.This log is generated each time the visitor, an agent or any other
ChatParticipant
sent an attachment.Sample code to determine all attachment in the chat looks as follows:
val chatAttachmentMessages = chatState .chatLogs .filterIsInstance<ChatLog.AttachmentMessage>() .map { it.attachment }
-
-
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)
Attachment
getAttachment()
Gets the attachment that describes and helps locate the file shared by theChatParticipant
.int
hashCode()
-
Methods inherited from class zendesk.chat.client.ChatLog
getChatParticipant, getDeliveryStatus, getDisplayName, getId, getLastModifiedTimestamp, getNick, getType
-
-
-
-
Method Detail
-
getAttachment
public Attachment getAttachment()
Gets the attachment that describes and helps locate the file shared by theChatParticipant
.- Returns:
Attachment
- See Also:
ChatLog.getChatParticipant()
-
-