twilio/list-picker
Twilio/list-picker
includes a menu of up to 10 options, which offers a simple way for users to make a selection.
List-picker templates are only available once the end user is in a 24 hr session. They can not initiate a business initiated session.
List-picker templates are not supported for approval on WhatsApp and can't be submitted for approval.
Supported Channels
Message Preview
Data Parameters
body: Type - string Required - yes Variable Support - yes Description - The text of the message you want to send. This is rendered as the body of the message.
|
button: Type - string Required - yes Variable Support - yes Description - Display value for the primary button.
|
items: Type - array[List Items] Required - yes Variable Support - See List Item definition below. Description - Array of list item objects.
|
List Item Definition
item: Type - string Required - yes Variable Support - yes Description - Display value for the item
|
id: Type - string Required - yes Variable Support - yes Description - Unique item identifier. Not visible to the recipient.
|
description: Type - string Required - no Variable Support - yes Description - Description of the item.
|
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.