NAME

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

SYNOPSIS

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

DESCRIPTION

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

METHODS

new

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

attribute_table

Used by Twilio::TwiML::TwiML.

ATTRIBUTES

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

method

TwiML 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

TwiML 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.