My suggestion for now is to add a notice in the readme.md and fix the library once ArduinoJson 6 is released.
I tried to compile the following example: hackster.io
It works without issues in the latest ArduinoJson 5.13.4 (stable)
Error Message:
C:\Users\simon\Documents\Arduino\libraries\TelegramBot\src\TelegramBot.cpp: In member function 'message TelegramBot::getUpdates()':
C:\Users\simon\Documents\Arduino\libraries\TelegramBot\src\TelegramBot.cpp:39:4: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<JSON_BUFF_SIZE> jsonBuffer;
The Telegram Library does not compile when using the ArduinoJson Library version(s) 6 (beta) and up.
This issue is discussed on the ArduinoJson respository as well. bblanchon/ArduinoJson/issues/756
My suggestion for now is to add a notice in the readme.md and fix the library once ArduinoJson 6 is released.
I tried to compile the following example: hackster.io It works without issues in the latest ArduinoJson 5.13.4 (stable) Error Message: