$jsapi.newSession
Deprecated
This method creates a new session and passes parameters to it.
caution
This method is an alias for
$reactions.newSession
and is deprecated.
Use $jsapi.startSession
or $jsapi.stopSession
instead.How to use
state: Reset
q!: $regex</reset>
script:
$jsapi.newSession({message: "/start", data: $request.data});