In twilio studio I have 2 messages that goes one after the other.
I need a 5 or 10 seconds wait time between these messages.
How can I do it in twilio studio? or How can I write a function that waits 10 seconds, runs after that and I send the other message.
I tried to use
setTimeout(function(){
response ="This is response";
},5000);
But this did not worked at Twilio,
I also tried wait(5000);
but it gave error that wait is not defined.
Thanks.