newSession
Deprecated
The newSession tag creates a new session.
caution
This tag is deprecated.
Use the
$jsapi.startSession or $jsapi.stopSession methods instead.Syntax
The tag takes the following parameters:
| Parameter | Type | Description | Default value |
|---|---|---|---|
data | Object | Arbitrary data to be passed into the new session. It will be available as $request.data. | Empty object |
message | String | The message to be sent to the script after the new session is started. This parameter is required. | — |
How to use
state: Reset
q!: $regex</reset>
newSession:
message = "/start"