2020-02-23 07:24:29 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
2020-03-11 10:49:13 +00:00
|
|
|
id:
|
|
|
|
type: number
|
|
|
|
description: ID of the conversation
|
2020-02-23 07:24:29 +00:00
|
|
|
messages:
|
|
|
|
type: array
|
2021-11-17 13:25:15 +00:00
|
|
|
items:
|
|
|
|
$ref: '#/definitions/message'
|
2020-04-10 11:12:37 +00:00
|
|
|
account_id:
|
|
|
|
type: number
|
|
|
|
description: Account Id
|
2020-02-23 07:24:29 +00:00
|
|
|
inbox_id:
|
|
|
|
type: number
|
2020-03-11 10:49:13 +00:00
|
|
|
description: ID of the inbox
|
2020-02-23 07:24:29 +00:00
|
|
|
status:
|
|
|
|
type: string
|
2021-07-21 16:32:43 +00:00
|
|
|
enum: ['open', 'resolved', 'pending']
|
2020-03-11 10:49:13 +00:00
|
|
|
description: The status of the conversation
|
2020-02-23 07:24:29 +00:00
|
|
|
timestamp:
|
|
|
|
type: string
|
2020-03-11 10:49:13 +00:00
|
|
|
description: The time at which conversation was created
|
2020-09-10 13:49:15 +00:00
|
|
|
contact_last_seen_at:
|
2020-02-23 07:24:29 +00:00
|
|
|
type: string
|
|
|
|
agent_last_seen_at:
|
2021-11-17 13:25:15 +00:00
|
|
|
type: string
|
2020-02-23 07:24:29 +00:00
|
|
|
unread_count:
|
|
|
|
type: number
|
2020-03-11 10:49:13 +00:00
|
|
|
description: The number of unread messages
|
|
|
|
additional_attributes:
|
|
|
|
type: object
|
|
|
|
description: The object containing additional attributes related to the conversation
|