= { prompts: { initial: 'When would you like to receive your tickets?', date: 'What day was that?', time: 'What time?', }, }; conv.ask(new DateTime(options)); agent.add(conv); }
= { context: 'To greet you by name at the entrance at DevFest', permissions: ['NAME', 'DEVICE_PRECISE_LOCATION'], }; conv.ask(new Permission(options)); agent.add(conv); }
= { destination: 'DevFest', url: 'devfest://warsaw', package: 'pl.devfest.warsaw', reason: 'handle this for you', }; conv.ask('Great! looks like maybe we can do that in the app.'); conv.ask(new DeepLink(options)); agent.add(conv); }C