RomeHein / ESPecial

ESP32 automation with web interface and telegram bot
GNU General Public License v3.0
111 stars 17 forks source link

TelegramHandler.cpp Error #11

Closed AnshumanFauzdar closed 4 years ago

AnshumanFauzdar commented 4 years ago
sketch\TelegramHandler.cpp: In member function 'void TelegramHandler::handleNewMessages(int)':

TelegramHandler.cpp:140:160: error: 'struct telegramMessage' has no member named 'message_id'

         bot->sendMessageWithInlineKeyboard(bot->messages[i].chat_id, "Gpios available in output mode", "", generateInlineKeyboardsForGpios(), bot->messages[i].message_id);

                                                                                                                                                                ^

exit status 1
'struct telegramMessage' has no member named 'message_id'

Compiling for ESP32-NodeMCU

sjfaustino commented 4 years ago

Check https://github.com/RomeHein/ESPecial/issues/2#issuecomment-627803591 Get changed version from RomeHein's repo

AnshumanFauzdar commented 4 years ago

Check #2 (comment) Get changed version from RomeHein's repo

Thanks for your feedback