Chatwoot/swagger/definitions/resource/conversation.yml
Sojan Jose b0950d6880
Feature: Rich Message Types (#610)
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
2020-04-10 16:42:37 +05:30

30 lines
740 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
user_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