Example #1
0
        /// <summary>
        /// Create a new <Lang/> element and append it as a child of this element.
        /// </summary>
        /// <param name="words"> Words to speak, the body of the TwiML Element. </param>
        /// <param name="xml:Lang"> Specify the language </param>
        public Say Lang(string words = null, SsmlLang.XmlLangEnum xmlLang = null)
        {
            var newChild = new SsmlLang(words, xmlLang);

            this.Append(newChild);
            return(this);
        }
Example #2
0
 public Say SsmlLang(SsmlLang ssmlLang)
 {
     this.Append(ssmlLang);
     return(this);
 }