Smooch: How to do postback dependent state transition?
问题 I am trying to transition the script from one state to another based on Smooch postback payloads; but getting error code H12. Consider the example https://github.com/smooch/smooch-bot-example Say I modify the script https://github.com/smooch/smooch-bot-example/blob/master/script.js as follows start: { receive: (bot) => { return bot.say('Hi! I\'m Smooch Bot! Continue? %[Yes](postback:askName) %[No](postback:bye) ); } }, bye: { prompt: (bot) => bot.say('Pleasure meeting you'), receive: () =>