NAME

Twilio::TwiML::Voice::Language - The Language element of TwiML

SYNOPSIS

my $element = Twilio::TwiML::Voice::Language->new(\%attributes);

DESCRIPTION

See Twilio::TwiML::TwiML for the methods every element has.

METHODS

new

my $element = Twilio::TwiML::Voice::Language->new(\%attributes);

attribute_table

Used by Twilio::TwiML::TwiML.

ATTRIBUTES

Each name works in \%attributes, and as a set_ method that returns the element.

asr_smart_format

Whether smart formatting should be applied to transcripts of this language True or false.

code

Language code of this language setting is for

hints

Phrases to help better accuracy in speech recognition of this language

speech_model

Speech model to be used for transcription of this language

transcription_provider

Provider to be used for transcription of this language

tts_language_text_normalization

Whether language-specific text normalization should be applied for text-to-speech of this language True or false.

tts_provider

Provider to be used for text-to-speech of this language

tts_text_normalization

Text normalization for text-to-speech of this language. The value can be auto, on, or off

voice

Voice to be used for text-to-speech of this language

set_asr_smart_format

set_code

set_hints

set_speech_model

set_transcription_provider

set_tts_language_text_normalization

set_tts_provider

set_tts_text_normalization

set_voice

Set the attribute of the same name.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.