-
Notifications
You must be signed in to change notification settings - Fork 312
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
Can't use the Bulk Messages for ESP8266 code! #232
Comments
I can not solve this in a pretty way but i found that if e new subscribedUsersFile is created
This was my workaround for the problem. |
wirewound, you saved my days trying to figure out the issue why I always get "null" for "/showallusers". I added your suggestion in bool addSubscribedUser(String chat_id, String from_name) after serializeJson(users, subscribedUsersFile); and the sketch works like a charm. Thank you @witnessmenow Brian Lough and @wirewound
|
Unfortunately for unforeseen reasons the suggestion of @wirewound doesn't work always. if ((usersDoc.isNull()) && (subscribedUsersFile)) |
I copied the Bulk Message code the same way it was written, and added the SSID ,password and bot token as it told me to do.
But when I tested it, all the bot functions wouldn't work. For example : Even tho there were 2 subscribed users, it just kept saying ´´null´´
I would like to know how to proceed
The text was updated successfully, but these errors were encountered: