Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot stops receiving or sending messages if no interactin happened in last 24 hours #126

Open
ardumiguel opened this issue Sep 27, 2023 · 0 comments

Comments

@ardumiguel
Copy link

The problem is that the bot stops working after that period of time if no messages are sent from user to bot or sent from bot to user.

I found this was happening to others and calling following function periodically was suggested:

myBot.getNewMessage(msg);

But in my case, that was already implements that in the following way

if (WiFi.status() == WL_CONNECTED) {
    if (myBot.getNewMessage(msg)) {
 }
}

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant