Module Values.TextEventSource

Contains text content to be synthesized into speech.

Sourcetype nonrec t = {
  1. text : Text.t;
    (*

    The text content to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.

    *)
  2. textType : TextType.t option;
    (*

    Specifies whether the input text is plain text or SSML. Default: plain text.

    *)
  3. flushStreamConfiguration : FlushStreamConfiguration.t option;
    (*

    Configuration for controlling when synthesized audio flushes to the output stream.

    *)
}
Sourceval context_ : string
Sourceval make : ?textType:??? -> ?flushStreamConfiguration:??? -> text:Text.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Text.t | `Structure of (string * [> `Boolean of Force.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t