Conversation Model
A conversation.
Properties
Property | Type | Description |
---|---|---|
counterParty | User |Group | Either the recipient or the group value, depending on the conversation type |
counterPartyId | string | ID of counterParty |
counterPartyType | string | Values: user , group , distributionList |
firstUnreadMessage | Message | The first unread message in the conversation |
higherContinuation | Object | |
higherContinuation.continuation | string | Continuation string for getting more messages at the end of the conversation |
higherContinuation.itemsEstimate | int | Number of messages left to get at the end of the conversation. Value is 0 if there are no more messages in that direction |
id | string | ID |
isLive | boolean | Whether the conversation is at the latest message |
isMuteable | boolean | Whether the conversation can be muted |
isMuted | boolean | Whether the conversation is muted |
lastBangMessageSortNumber | int | The sort number of the last bang |
lastIncomingMessageSortNumber | int | The sort number of the last incoming message |
lastMessage | Message | The last message in the conversation |
lowerContinuation | Object | |
lowerContinuation.continuation | string | Continuation string for getting more messages at the beginning of the conversation |
lowerContinuation.itemsEstimate | int | Number of messages left to get at the beginning of the conversation. Value is 0 if there are no more messages in that direction |
messages | Message[] | List of messages |
organization | Organization | Organization where this conversation takes place |
organizationId | string | ID of organization |
timeline | Message[] | List of all messages and bangs |
unreadCount | int | A count of all unread messages in the list |
unreadMessages | Message[] | List of unread messages |
unreadPriorityCount | int | A count of all unread priority messages in the list |