promptTTS
promptTTS
- promptTTS(
params):Promise<CallPrompt>- See CallPrompt for more details.
Play text-to-speech while collecting user input from the call, such as digits or speech.
Parameters
Returns
Promise<CallPrompt> - See CallPrompt for more details.
Examples
Prompting for digits and waiting for a result:
Prompting for speech and waiting for a result:
Prompting for speech and listening for results using the events:
Prompting for digits with SSML and waiting for a result: