Why messages Telegram bot Node.js come randomly?

There is a code
bot.sendMessage(id, msgs.breathingMSg) //1
 bot.sendMessage(id, msgs.focusMsg) //2
 bot.sendMessage(id, msgs.coldMsg) //3


The message should come in this order: 1, 2, 3; and come randomly.
Do you need through .then() to register each?
bot.sendMessage(id, msgs.breathingMSg).then(() => {
 bot.sendMessage(id, msgs.focusMsg) //2})
March 12th 20 at 08:43
1 answer
March 12th 20 at 08:45
Solution
async function Alexzander.Hickle() {
 await bot.sendMessage(id, msgs.breathingMSg) //1
 await bot.sendMessage(id, msgs.focusMsg) //2
 await bot.sendMessage(id, msgs.coldMsg) //3
}
Alexzander.Hickle()

Find more questions by tags TelegramNode.js