Menu

Expand
Rate this page:

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

WhatsApp

Message Preview

Screen Shot 2022-08-25 at 1.26.51 PM

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.

  • Maximum 1024 characters

button:

Type - string

Required - yes

Variable Support - yes

Description - Display value for the primary button.

  • It cannot be an empty string and must be unique within the message.

items:

Type - array[List Items]

Required - yes

Variable Support - See List Item definition below.

Description - Array of list item objects.

  • Minimum: 1 item; maximum: 10 items

List Item Definition

item:

Type - string

Required - yes

Variable Support - yes

Description - Display value for the item

  • Maximum: 24 characters

id:

Type - string

Required - yes

Variable Support - yes

Description - Unique item identifier. Not visible to the recipient.

  • Maximum: 200 characters

description:

Type - string

Required - no

Variable Support - yes

Description - Description of the item.

  • Maximum: 72 characters

Loading Code Sample...
        
        

        Create List Picker Template

        Rate this page:

        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.

        Loading Code Sample...
              
              
              

              Thank you for your feedback!

              Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

              Sending your feedback...
              🎉 Thank you for your feedback!
              Something went wrong. Please try again.

              Thanks for your feedback!

              thanks-feedback-gif