NAME

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

SYNOPSIS

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

DESCRIPTION

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

METHODS

new

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

attribute_table

Used by Twilio::TwiML::TwiML.

identity

my $child = $element->identity($client_identity);

Add Identity child. Returns a Twilio::TwiML::Voice::Identity.

parameter

my $child = $element->parameter(\%attributes);

Add Parameter child. Returns a Twilio::TwiML::Voice::Parameter.

ATTRIBUTES

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

method

Client URL Method

status_callback

Status Callback URL

status_callback_event

Events to trigger status callback An array reference.

status_callback_method

Status Callback URL Method

url

Client URL

set_method

set_status_callback

set_status_callback_event

set_status_callback_method

set_url

Set the attribute of the same name.

LICENSE

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