2020-02-23 19:21:31 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
content:
|
|
|
|
type: string
|
2020-03-11 10:49:13 +00:00
|
|
|
description: The text content of the message
|
2020-04-10 11:12:37 +00:00
|
|
|
content_type:
|
|
|
|
type: string
|
|
|
|
enum: ["text", "input_select", "cards", "form"]
|
|
|
|
description: The type of the template message
|
|
|
|
content_attributes:
|
|
|
|
type: object
|
|
|
|
description: The content attributes for each content_type
|
2020-02-23 19:21:31 +00:00
|
|
|
message_type:
|
|
|
|
type: string
|
2020-03-11 10:49:13 +00:00
|
|
|
enum: ["incoming", "outgoing", "activity", "template"]
|
|
|
|
description: The type of the message
|
2020-02-23 19:21:31 +00:00
|
|
|
created_at:
|
|
|
|
type: integer
|
2020-03-11 10:49:13 +00:00
|
|
|
description: The time at which message was created
|
2020-02-23 19:21:31 +00:00
|
|
|
private:
|
|
|
|
type: boolean
|
2020-03-11 10:49:13 +00:00
|
|
|
description: The flags which shows whether the message is private or not
|
2020-02-23 19:21:31 +00:00
|
|
|
attachment:
|
|
|
|
type: object
|
2020-03-11 10:49:13 +00:00
|
|
|
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
|