Ustawianie kontekstu

$conpeek.connect.setContext("<<context>>");

Info

Update the call context. The consultant receive the context during the call.

Arguments

Name Type
context STRING / OBJECT / LIST

Example

Set the object

$conpeek.connect.setContext({"a":"b", "statuses": [48,18]});
Set the string
$conpeek.connect.setContext("Customer went from shop -> product 128");
Set the list
$conpeek.connect.setContext(["Product 1", "Product 4", "Product 12"]);