I'd apologise in advance if I'm missing/messing up something obvious since I'm very new to Arduino developement.
I'm trying to setup a Wake On LAN using esp32 and this is the error I get
I've tried updating Json library, as well as downgrading it. Deleting telegramcertificate.h seems to fix the compiling error but now my board can't communicate with my telegram bot.
I've verified that its not an issue with my board since it can connect and communicate with telegram when I use a different sketch.
This is the error message
In file included from c:\Users\hellb\Documents\Arduino\libraries\UniversalTelegramBot\src/UniversalTelegramBot.h:31,
from C:\Users\hellb\AppData\Local\Temp.arduinoIDE-unsaved2025319-18148-12hv1da.bui3\sketch_apr19e\sketch_apr19e.ino:4:
c:\Users\hellb\Documents\Arduino\libraries\UniversalTelegramBot\src/TelegramCertificate.h:9:12: error: redefinition of 'const char TELEGRAM_CERTIFICATE_ROOT []'
9 | const char TELEGRAM_CERTIFICATE_ROOT[] = R"=EOF=(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\hellb\AppData\Local\Temp.arduinoIDE-unsaved2025319-18148-12hv1da.bui3\sketch_apr19e\sketch_apr19e.ino:3:
c:\Users\hellb\Documents\Arduino\libraries\UniversalTelegramBot\src/TelegramCertificate.h:9:12: note: 'const char TELEGRAM_CERTIFICATE_ROOT [1369]' previously defined here
9 | const char TELEGRAM_CERTIFICATE_ROOT[] = R"=EOF=(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
Compilation error: exit status 1