Chatwoot/swagger/definitions/resource/message.yml
2020-03-11 16:19:13 +05:30

24 lines
661 B
YAML

type: object
properties:
content:
type: string
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