Is it possible always show Custom Keyboard (option Vanilla,Chocolate,Butterscotch) in gupshup?
Original example:
if (event.message == "hi"){
var payload = {"type":"survey","question":"Hello,What is your
favourite flavour of icecream?","options":
["Vanilla","Chocolate","Butterscotch"]};
context.sendResponse(JSON.stringify(payload));
return;
}
if (event.message == "Vanilla"){
context.sendResponse("Ok, getting vanilla ice cream");
return;
}