TextEvent¶
Structure Class¶
TextEvent
dataclass
¶
Contains text content to be synthesized into speech.
Attributes¶
flush_stream_configuration
class-attribute
instance-attribute
¶
flush_stream_configuration: FlushStreamConfiguration | None = None
Configuration for controlling when synthesized audio flushes to the output stream.
text
instance-attribute
¶
text: str
The text content to synthesize. If you specify ssml as the TextType,
follow the SSML format for the input text.