We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In structure 'message' the key 'sender' is parsing no results, becauseroot["result"][0]["message"]["from"]["username"]; is not defined.
root["result"][0]["message"]["from"]["username"];
in Telegrambot.cpp line 50 has to be changed to String sender = root["result"][0]["message"]["from"]["first_name"];
String sender = root["result"][0]["message"]["from"]["first_name"];
I will upload a Pull request.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In structure 'message' the key 'sender' is parsing no results, because
root["result"][0]["message"]["from"]["username"];
is not defined.in Telegrambot.cpp line 50 has to be changed to
String sender = root["result"][0]["message"]["from"]["first_name"];
I will upload a Pull request.
The text was updated successfully, but these errors were encountered: