post_message
Post message allows posting a custom message to the visitor while performing an action.
Note:
- It is executed only during the ongoing chat.
- When this return type is invoked, a confirmation popup box containing the message to be displayed to the visitor along with the Cancel/ Share button. If the operator selects "Share", the message will be sent to the visitor.
Parameter | Description | Datatype | Max Limit |
type | Type of action that has to be performed - post_message | String | - |
message | The list of messages to be sent in the conversation | List | - |
Sample Script (Deluge):
{
"type":"post_message",
"message":[
{
"text": "Your order" + ordered_product + "has been canceled successfully.",
}
]
}