witnessmenow / Universal-Arduino-Telegram-Bot

Use Telegram on your Arduino (ESP8266 or Wifi-101 boards)
MIT License
1.09k stars 302 forks source link

Empty chat_id and chat_title. #276

Closed emitdrop closed 2 years ago

emitdrop commented 2 years ago

Hello

Using a ESP32 I only I'm able to get "from_name" when I try something like:

telegramMessage &msg = bot.messages[I]; Serial.println("CHAT ID " + msg.chat_id); // empty Serial.println("TITLE ID " + msg.chat_title); // empty Serial.println("FROM NAME " + msg.from_name); // here I get the bot token...

Some clue? Any recent changes in the Telegram AP?

Thanks in advance.

emitdrop commented 2 years ago

Sorry. It was my fault using the ESP32 multicore features.

Library works as expected