playTTS
Play text-to-speech on the call. A typed convenience over play() that
builds the TTS media item for you.
Parameters
text
The text to speak.
options
Voice and playback options.
options.language
Language code for the voice, such as "en-US".
options.gender
"male" or "female".
options.voice
Voice identifier for the TTS engine.
options.volume
Volume adjustment in dB, from -40 to 40.
options.onCompleted
Callback invoked when the operation reaches a terminal state.
Returns
Promise<PlayAction> — An action handle with stop(), pause(), resume(), volume(), and wait() methods.