Use @Event
An event on a function triggers this function according to a situation
start
The start
event triggers the function when the user launches the chatbot for the first time. Attention, only the first time!
startAndIntent
The startAndIntent
event triggers the function when the user launches the chatbot for the first time and triggers another intent. Attention, only once!
nothing
The event nothing
triggers the function if no other function is started.
on
The on
event triggers the function according to an outside call:
canActivate
The canActivate
event fires to find out if a skill can be performed or not
Last updated