public interface ConversationDetails
Conversation
.Modifier and Type | Method and Description |
---|---|
java.util.Date |
getBusinessLastRead()
Returns the date when the business last read the user's messages.
|
java.lang.String |
getDescription()
Returns the description of this conversation.
|
java.lang.String |
getDisplayName()
Returns the display name of this conversation.
|
java.lang.String |
getIconUrl()
Returns the icon url of this conversation.
|
java.lang.String |
getId()
Returns the ID of this conversation.
|
java.util.Date |
getLastRead()
Returns the date when any other participant of the conversation last read the user's messages.
|
java.util.Date |
getLastUpdatedAt()
Returns the date when this conversation was last updated.
|
java.util.List<Message> |
getMessages()
Returns the list of messages of this conversation.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata()
Data representing an optional flat object containing additional properties associated with the conversation.
|
java.util.List<Participant> |
getParticipants()
Returns the list of participants of this conversation.
|
int |
getUnreadCount()
Count of unread messages in the conversation.
|
java.lang.String getId()
Conversation.sendMessage(Message)
,
BrandMessenger#createConversation(String, String, String, Map, BrandMessengerCallback)
java.lang.String getDisplayName()
java.lang.String getIconUrl()
java.lang.String getDescription()
java.util.Date getBusinessLastRead()
Date
when the business last read the user's messagesjava.util.Date getLastUpdatedAt()
Date
when this conversation was last updatedjava.util.Map<java.lang.String,java.lang.Object> getMetadata()
java.util.List<Participant> getParticipants()
Participant
s of this conversation.java.util.List<Message> getMessages()
Message
s of this conversationint getUnreadCount()
The primary use of this property is to be able to display an indicator when the conversation has unread messages.
java.util.Date getLastRead()
Date
when any other participant of the conversation last read the user's messages