Conversation Model

A conversation.

Properties

PropertyTypeDescription
counterPartyUser|GroupEither the recipient or the group value, depending on the conversation type
counterPartyIdstringID of counterParty
counterPartyTypestringValues: user, group, distributionList
firstUnreadMessageMessageThe first unread message in the conversation
higherContinuationObject
higherContinuation.continuationstringContinuation string for getting more messages at the end of the conversation
higherContinuation.itemsEstimateintNumber of messages left to get at the end of the conversation. Value is 0 if there are no more messages in that direction
idstringID
isLivebooleanWhether the conversation is at the latest message
isMuteablebooleanWhether the conversation can be muted
isMutedbooleanWhether the conversation is muted
lastBangMessageSortNumberintThe sort number of the last bang
lastIncomingMessageSortNumberintThe sort number of the last incoming message
lastMessageMessageThe last message in the conversation
lowerContinuationObject
lowerContinuation.continuationstringContinuation string for getting more messages at the beginning of the conversation
lowerContinuation.itemsEstimateintNumber of messages left to get at the beginning of the conversation. Value is 0 if there are no more messages in that direction
messagesMessage[]List of messages
organizationOrganizationOrganization where this conversation takes place
organizationIdstringID of organization
timelineMessage[]List of all messages and bangs
unreadCountintA count of all unread messages in the list
unreadMessagesMessage[]List of unread messages
unreadPriorityCountintA count of all unread priority messages in the list