NAME
Twilio::TwiML::Voice::SsmlLang - The lang element of TwiML
SYNOPSIS
my $element = Twilio::TwiML::Voice::SsmlLang->new($words, \%attributes);
DESCRIPTION
See Twilio::TwiML::TwiML for the methods every element has.
METHODS
new
my $element = Twilio::TwiML::Voice::SsmlLang->new($words, \%attributes);
attribute_table
Used by Twilio::TwiML::TwiML.
break
my $child = $element->break(\%attributes);
Add Break child. Returns a Twilio::TwiML::Voice::SsmlBreak.
emphasis
my $child = $element->emphasis($words, \%attributes);
Add Emphasis child. Returns a Twilio::TwiML::Voice::SsmlEmphasis.
lang
my $child = $element->lang($words, \%attributes);
Add Lang child. Returns a Twilio::TwiML::Voice::SsmlLang.
p
my $child = $element->p($words);
Add P child. Returns a Twilio::TwiML::Voice::SsmlP.
phoneme
my $child = $element->phoneme($words, \%attributes);
Add Phoneme child. Returns a Twilio::TwiML::Voice::SsmlPhoneme.
prosody
my $child = $element->prosody($words, \%attributes);
Add Prosody child. Returns a Twilio::TwiML::Voice::SsmlProsody.
s
my $child = $element->s($words);
Add S child. Returns a Twilio::TwiML::Voice::SsmlS.
say_as
my $child = $element->say_as($words, \%attributes);
Add Say-As child. Returns a Twilio::TwiML::Voice::SsmlSayAs.
sub
my $child = $element->sub($words, \%attributes);
Add Sub child. Returns a Twilio::TwiML::Voice::SsmlSub.
w
my $child = $element->w($words, \%attributes);
Add W child. Returns a Twilio::TwiML::Voice::SsmlW.
ATTRIBUTES
Each name works in \%attributes, and as a set_ method that returns the element.
xml_lang-
Specify the language
set_xml_lang
Set the attribute of the same name.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.