TelAPI.InboundXML.Element.GetSpeech.Say C# (CSharp) Method

Say() public method

The Say element reads text to the caller using a text-to-speech engine.
public Say ( string text, Voice voice, long loop ) : GetSpeech
text string Text to say
voice Voice The type of voice that will read the text to caller.
loop long The amount of times the spoken text should be repeated. 0 indicates an infinite loop.
return GetSpeech
        public GetSpeech Say(string text, Voice? voice, long? loop)
        {
            Elements.Add(Element.Say.Create(text, voice, loop));
            return this;
        }