MessagingConversationDto

A conversation with one outside number, across SMS and WhatsApp. It is to sort while it has no
contact, no client and has not been dismissed.

Properties

Name Type Description
codestring

The conversation's code

The conversation's code

externalAddressstring

The other party's number, E.164

The other party's number, E.164

contactCodeAndNameDto
clientClientRefDto
isAmbiguousboolean

The number was on more than one record when it was last matched automatically; see candidates

The number was on more than one record when it was last matched automatically; see candidates

matchedByUserNamestring

Who matched or unmatched it by hand; null when its match is automatic

Who matched or unmatched it by hand; null when its match is automatic

matchedDatestring

When it was matched or unmatched by hand

When it was matched or unmatched by hand

dismissedByUserNamestring

Who dismissed it from the inbox

Who dismissed it from the inbox

dismissedDatestring

When it was dismissed from the inbox; null while it is not

When it was dismissed from the inbox; null while it is not

lastMessageDatestring

When its newest message arrived or was sent

When its newest message arrived or was sent

whatsAppWindowClosesAtstring

When WhatsApp free text to the number stops being allowed, as the Messaging Service stated it (24 hours after
the number's newest inbound WhatsApp message); null when closed or never opened, so only a template can go. A
hint for offering a template: the service decides, and refuses free text outside the window with a 409.

When WhatsApp free text to the number stops being allowed, as the Messaging Service stated it (24 hours after
the number's newest inbound WhatsApp message); null when closed or never opened, so only a template can go. A
hint for offering a template: the service decides, and refuses free text outside the window with a 409.

hasUnreadboolean

Someone in the practice has yet to read its newest inbound message. Practice-wide, not per user:
cleared by its read route (or the client's), a send on it, or dismissing it.

Someone in the practice has yet to read its newest inbound message. Practice-wide, not per user:
cleared by its read route (or the client's), a send on it, or dismissing it.

lastReadDatestring

When it was last marked read; null when it never has been

When it was last marked read; null when it never has been

messageCountinteger

How many messages it holds, from the Messaging Service; 0 when the service could not be read

How many messages it holds, from the Messaging Service; 0 when the service could not be read

lastMessageMessagingMessageDto
candidatesarray of MessagingMatchCandidateDto

For an ambiguous conversation in the inbox: the contacts and clients holding its number. Empty otherwise.

For an ambiguous conversation in the inbox: the contacts and clients holding its number. Empty otherwise.

JSON Example

{
  "code": "string",
  "externalAddress": "string",
  "contact": {
    "code": "string",
    "name": "string"
  },
  "client": {
    "code": "string",
    "name": "string",
    "logoUrl": "string"
  },
  "isAmbiguous": false
}

Used By Operations

Contained in Schemas