CasaJasmina / TelegramBot-Library

Host a Telegram Bot on your Arduino, and interact with it from your favourite chat application
GNU Lesser General Public License v2.1
134 stars 53 forks source link

Many errors while including the library #40

Open jenya7 opened 1 year ago

jenya7 commented 1 year ago

I include the library in my project Arduino -> Add a library to the selected project. It's added successfully but when compile I get the following errors

The type 'BearSSL::WiFiClientSecure' must implement the inherited pure virtual method 'Stream::readBytes' EchoBot-ESP8266.ino /MyProject/libraries/TelegramBot/examples/EchoBot-ESP8266 line 30 Code Analysis Problem

'ArduinoJson::JsonObject' {aka 'class ArduinoJson6194_F1::ObjectRef'} has no member named 'printTo' TelegramBot.cpp /MyProject/libraries/TelegramBot/src line 93 C/C++ Problem

'jsonBuffer' was not declared in this scope; did you mean 'JsonBuffer'? TelegramBot.cpp /MyProject/libraries/TelegramBot/src line 39 C/C++ Problem

cannot bind non-const lvalue reference of type 'ArduinoJson::JsonArray&' {aka 'ArduinoJson6194_F1::ArrayRef&'} to an rvalue of type 'ArduinoJson6194_F1::ArrayRef' TelegramBot.cpp /MyProject/libraries/TelegramBot/src line 108 C/C++ Problem