...
Code Block |
---|
msg.payload = {
speechToText: "Native",
headerLogo: "",
micInput: true,
mapKey: "Google maps api key",
directive:[
{
"type": "mainmenu",
"title":"Menu options",
"html":``,
"buttons": [
{
"text": "Schedule an Appointment",
"value": "Schedule an Appointment"
},
{
"text": "Access Same-Day Care",
"value": "Access Same-Day Care"
},
{
"text" : "Find a Provider",
"value" : "find a provider"
},
{
"text" : "Find a Location",
"value" : "Find a Location"
},
{
"text": "Frequently Asked Questions",
"value": "help"
}
]
}
]
};
return msg; |
...