Skippable
This can be used with all the input cards. It shows a skip button along with the input widgets, with which the visitor can choose to skip responding to the particular question.
Use Case:
Context Handler function:
Copiedresult = Map();
response = Map();
response.put("action", "reply");
response.put("replies",[
"Please choose a number from the following option"
]);
response.put("input",{
"type": "select",
"options": [
"one",
"two"
]
});
response.put("skippable", "true");
prompt = Map();
prompt.put("param_name", "reply");
prompt.put("data", response);
result.put("prompt", prompt);
result.put("todo", "prompt");
return result;
Output: