Skip to main content


Use the a tag to send a bot response as a text.


In the text response, you can use substitutions inside the {{}} brackets, which can contain any valid JavaScript expression.

 a: Nice to meet you, {{ capitalize($ }}!

Using the tts attribute, you can apply speech synthesis markup to bot responses.

 a: Good morning! || tts = "<emphasis>Good morning!</emphasis>"

How to use

 a: Hello!
 a: A long response split into multiple messages
a: The same response, continued