sendText

The most often-used action. It is used to send voice response to a user. Only one argument text.

Example:

actions:
  - sendText:
     text: 'Hello, {{ username }}!'

This action can also be called with a shortcut:

actions:
  - sendText: 'Hello, {{ username }}'

Argument text can contain TWIG-markup inside, and is parsed as TWIG template.


Written by Andrey Esaulov on 12 March 2019

Updated on 12 March 2019