- How to make a custom template to showcase a list of inputs for instance
user have to give give three info to the user and after giving all those inputs a template containing all those items will be displayed for confirmation.
2.The below code could not be implemented on All Channels
Can anyone elaborte the reason and how send a javascript code format that can be used for all channels or for cisco jabber
var message={
“type”: “template”,
“payload”:
{
“template_type”: “button”,
“text”: “What do you want to do next?”,
“buttons”:
[{
“type”: “web_url”,
“title”: “Show Website”,
“url”: “https://petersapparel.parseapp.com”
},
{
“type”: “postback”,
“title”: “Start Chatting”,
“payload”: “USER_DEFINED_PAYLOAD”
}
]
}
}
print(JSON.stringify(message));