Chatwoot/swagger/definitions/resource/conversation.yml
Sojan Jose 31c07771e8
feat: Notification on new messages in conversation (#1204)
fixes: #895
fixes: #1118
fixes: #1075

Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-09-10 19:19:15 +05:30

30 lines
743 B
YAML

type: object
properties:
id:
type: number
description: ID of the conversation
messages:
type: array
account_id:
type: number
description: Account Id
inbox_id:
type: number
description: ID of the inbox
status:
type: string
enum: ['open', 'resolved', 'bot']
description: The status of the conversation
timestamp:
type: string
description: The time at which conversation was created
contact_last_seen_at:
type: string
agent_last_seen_at:
type: agent_last_seen_at
unread_count:
type: number
description: The number of unread messages
additional_attributes:
type: object
description: The object containing additional attributes related to the conversation