Send list

Send a list of sections and choices

Available on :

  • Clustaar Webchat
AttributeTypeRequiredDescription
typestring✓always send_choices_list_action
messagestring✓a string (length 1<=count<=500)
placeholderstring✓a string (length 1<= count<=45)
actionobject<goTo>✓a goto action ( with step or story target)
sectionsarray<section>✓a list of section objects (1<=count<=100)
section.typestring✓always section
section.titlestringcard title (length<=80)
section.choicesarray<choice>✓a list of choices (1<=count<=100 )
section.choice.typestring✓always choice
section.choice.titlestring✓the choice title (1<=count<=500)
section.choice.imageUrlstringan image url (count<=500)
section.choice.sessionValuesdict✓extra session values (dict[str: str])
{
	"type": "send_choices_list_action",
  "message": "Faites votre choix",
  "placeholder": "Le meilleur des sections !",
  "sections": [
  	{
    	"type": "section",
      "title": "A",
      "choices": [
        {
          "type": "choice",
          "imageUrl": "https://image.com",
          "title": "A.1",
        	"sessionValues": {
            "product": "A.1"
          }
        }
      ]
    }
   ],
   "action": {
    	"type": "go_to_action",
      "target": {
        "type": "step",
        "name": "a step",
        "id": "a1a1a1a1a1a1a1a1a1a1a1a1"
      },
      "sessionValues": null
    }
}