IVRPrompt
IVR menu prompt settings. Note that it's possible to specify play parameter or pair of the say and lang parameters. Add the following line to your scenario code to use the interface:
require(Modules.IVR);
Props
lang
lang: string
TTS language for pronouncing a value of the say parameter. List of all supported languages: Language.
play
play: string
Voice message url to play. Supported formats are mp3 and ogg.
say
say: string
Voice message to say. Use it together with the lang parameter. SSML is supported; to use it, specify ttsOptions before creating an IVRState instance:IVR.ttsOptions = { "pitch": "low", "rate": "slow", "volume": "loud" }