Get Conversation Handler
Description
Section titled “Description”wss conversation_handler_get
The conversation_handler_get
request returns the chat handle for the specified CID.
Request Parameters
Section titled “Request Parameters”Name | Type | Description |
---|---|---|
cid | string | Converstaion ID |
Response Fields
Section titled “Response Fields”Name | Type | Description |
---|---|---|
updated_by | string | User ID that last modified |
content | string | Handler logic in string form |
Example
Section titled “Example”{ "request": { "conversation_handler_get": { "cid": "507f1f77bcf86cd799439012" }, "id": "RequestId" }}
{ "response": { "id": "RequestId", "conversation_handler": { "content": "...", "updated_by": "63480e68f4794709f802a2fa" } }}
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...