Chatwoot/swagger/definitions/request/conversation/create_message.yml
2020-08-25 23:04:02 +05:30

21 lines
557 B
YAML

type: object
properties:
content:
type: string
description: The content of the message
required: true
message_type:
type: string
enum: ['outgoing', 'incoming']
private:
type: boolean
description: Flag to identify if it is a private note
content_type:
type: string
enum: ['input_email', 'cards', 'input_select', 'form' , 'article']
example: 'cards'
description: 'if you want to create custom message types'
content_attributes:
type: object
description: attributes based on your content type