-
Notifications
You must be signed in to change notification settings - Fork 16
Text reply
Konstantin Sipunin edited this page Mar 1, 2024
·
1 revision
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"
}