Chatwoot/swagger/definitions/request/conversation/create_message.yml

22 lines
555 B
YAML
Raw Normal View History

type: object
required:
- content
properties:
content:
type: string
2020-03-11 10:49:13 +00:00
description: The content of the message
message_type:
type: string
enum: ['outgoing', 'incoming']
private:
type: boolean
2020-03-11 10:49:13 +00:00
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