Closed aarora91 closed 6 years ago
We want to allow options[i].value to be an object with input.text attribute. The structure of the options list in generic will then be:
options[i].value
input.text
{ "generic": [ { "response_type": "option", "title": "Select a location", "options": [ { "label": "Location 1", "value": { "input": { "text": "Value1" } } }, { "label": "Location 2", "value": { "input": { "text": "Value2" } } }, { "label": "Location 3", "value": { "input": { "text": "Value3" } } } ] } ] }
We want to allow
options[i].value
to be an object withinput.text
attribute. The structure of the options list in generic will then be: