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
|
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
|
2020-03-11 10:49:13 +00:00
|
|
|
enum: ['open', 'resolved', 'bot']
|
|
|
|
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-02-23 07:24:29 +00:00
|
|
|
user_last_seen_at:
|
|
|
|
type: string
|
|
|
|
agent_last_seen_at:
|
|
|
|
type: agent_last_seen_at
|
|
|
|
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
|