type: object
required:
  - content
properties:
  content:
    type: string
    description: The content of the message
  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
  template_params:
    type: object
    description: The template params for the message in case of whatsapp Channel
    properties:
      name:
        type: string
        description: Name of the template
        example: 'sample_issue_resolution'
      category:
        type: string
        description: Category of the template
        example: UTILITY
      language:
        type: string
        description: Language of the template
        example: en_US
      processed_params: 
        type: object
        description: The processed param values for template variables in template
        example: 
          1: "Chatwoot"
