Chore: Update Swagger API docs (#608)

This commit is contained in:
Pranav Raj S
2020-03-11 16:19:13 +05:30
committed by GitHub
parent a5b1e2b650
commit 260e40831a
23 changed files with 1014 additions and 463 deletions

View File

@@ -2,15 +2,23 @@ type: object
properties:
content:
type: string
inbox_id:
type: number
conversation_id:
type: number
description: The text content of the message
message_type:
type: string
enum: ["incoming", "outgoing", "activity", "template"]
description: The type of the message
created_at:
type: integer
description: The time at which message was created
private:
type: boolean
description: The flags which shows whether the message is private or not
attachment:
type: object
description: The file object attached to the image
sender:
type: object
description: User/Agent/AgentBot object
conversation_id:
type: number
description: ID of the conversation