Feature: Rich Message Types (#610)
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com> Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
This commit is contained in:
@@ -4,10 +4,16 @@ properties:
|
||||
type: number
|
||||
description: ID of the conversation
|
||||
required: true
|
||||
message:
|
||||
content:
|
||||
type: string
|
||||
description: The content of the message
|
||||
required: true
|
||||
private:
|
||||
type: boolean
|
||||
description: Flag to identify if it is a private note
|
||||
content_type:
|
||||
type: string
|
||||
enum: ['input_select', 'form', 'cards']
|
||||
content_attributes:
|
||||
type: object
|
||||
description: options/form object
|
||||
|
||||
@@ -5,6 +5,9 @@ properties:
|
||||
description: ID of the conversation
|
||||
messages:
|
||||
type: array
|
||||
account_id:
|
||||
type: number
|
||||
description: Account Id
|
||||
inbox_id:
|
||||
type: number
|
||||
description: ID of the inbox
|
||||
|
||||
@@ -3,6 +3,13 @@ properties:
|
||||
content:
|
||||
type: string
|
||||
description: The text content of the message
|
||||
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
|
||||
message_type:
|
||||
type: string
|
||||
enum: ["incoming", "outgoing", "activity", "template"]
|
||||
|
||||
Reference in New Issue
Block a user