Skip to main content

a

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

Syntax

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

 a: Nice to meet you, {{ capitalize($client.name) }}!

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