NAME
Twilio::TwiML::Voice::Enqueue - The Enqueue element of TwiML
SYNOPSIS
my $element = Twilio::TwiML::Voice::Enqueue->new($name, \%attributes);
DESCRIPTION
See Twilio::TwiML::TwiML for the methods every element has.
METHODS
new
my $element = Twilio::TwiML::Voice::Enqueue->new($name, \%attributes);
attribute_table
Used by Twilio::TwiML::TwiML.
task
my $child = $element->task($body, \%attributes);
Add Task child. Returns a Twilio::TwiML::Voice::Task.
ATTRIBUTES
Each name works in \%attributes, and as a set_ method that returns the element.
action-
Action URL
max_queue_size-
Maximum size of queue
method-
Action URL method
wait_url-
Wait URL
wait_url_method-
Wait URL method
workflow_sid-
TaskRouter Workflow SID
set_action
set_max_queue_size
set_method
set_wait_url
set_wait_url_method
set_workflow_sid
Set the attribute of the same name.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.