I'm doing a test where the user sends a message to the bot, the bot responds, and needs to keep hold of the message_id that is in the response object. However, I've seen that during the tests the bot is not able to receive this message_id. I tracked it to the routes/bot/sendMessage.js file in the following code:
Hi,
I'm doing a test where the user sends a message to the bot, the bot responds, and needs to keep hold of the message_id that is in the response object. However, I've seen that during the tests the bot is not able to receive this message_id. I tracked it to the
routes/bot/sendMessage.js
file in the following code:Here I see that the bot receives a data object, but it probably does not match the object it gets from Telegram.