this is a node js code messenger chatbot async ,
all api call are asynchronous in this case i use
(async () => {
await sendTextMessage(senderID,"If you like my apps then just transfert this texte to your friends 👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻 ")
await sendTextMessage(senderID,"Hi friend , this is awesome chatbot click here:=>=> https://m.me/your_fb_page_pseudo_or_id <=<=, ;) ")
})();
To execute this asinc you can also test an for loop