Class TelephonySynthesizeSpeech (2.8.1)

TelephonySynthesizeSpeech(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway.

Telephony Gateway takes the synthesizer settings from DetectIntentResponse.output_audio_config which can either be set at request-level or can come from the agent-level synthesizer config.

Attributes

NameDescription
text str
The raw text to be synthesized.
ssml str
The SSML to be synthesized. For more information, see SSML __.