Text reply contains the text and speech synthesis related data of the response.

Every HTTP API response can contain multiple text replies.

Here is a list of text reply fields

text - plain text of the reply
lang - language code of the reply
tts - speech synthesis data (may contain any SSML or plain text)

There is a format of this reply type

{
"type": "text",
"text": "Hello world!",
"tts": "<p>Hello</p>",
"lang": "en"
}
Was this article helpful?
Cancel
Thank you!