Create Conversation Handler
Description
Section titled “Description”wss conversation_handler_create
The conversation_handler_create
request registers the schema for the specified chat in the system.
Request Parameters
Section titled “Request Parameters”Name | Type | Description |
---|---|---|
content | string | Handler logic in string form |
cid | string | Converstaion ID |
Response Fields
Section titled “Response Fields”{ "id": "RequestId", "success": true}
Example
Section titled “Example”{ "request": { "conversation_handler_create": { "content": "...", "cid": "507f1f77bcf86cd799439012" }, "id": "RequestId" }}
See Also
Section titled “See Also” Introducing Programmable Chat SAMA chat just got a powerful 💪🏻 upgrade. With our new Programmable Chat feature, you can now extend conversations with your own JavaScript logic.
Programmable Chat feature This allows developers to inject custom JavaScript logic into the chat system and interact with messages in real time. Below you’ll find a full explanation...