This site is no longer updated.Go to new Conversational Cloud docs

$caila.setClientNerId


You can use the $caila.setClientNerId method to set a custom сlientId to be used later to parse text.

$request.channelUserId is used by default as the unique client ID.

Syntax

The method accepts the custom client ID in the string format:

$caila.setClientNerId("testClientId");

How to use

    state: new id
        intent!: /SpecialOffer
        script:
            $caila.setClientNerId("special offer client");
        a: Thank you for your trust!