Send twilio speech result to working function
问题 Hello I have the following working function. I am having trouble using the or functions properly. Here is the working porting of the code. I have tried: let twiml = new Twilio.twiml.VoiceResponse(); twiml.say({ voice: 'man', language: 'en-gb' }, 'Hello I.T.'); CODE: const got = require('got'); exports.handler = function(context, event, callback) { I want to record the first 15 seconds of the call and replace "test" with event.SpeechResult.toString() const requestBody = { text: "test" }; got