shurillu / CTBot

A simple (and easy to use) Arduino Telegram BOT Library for ESP8266/ESP32
MIT License
147 stars 34 forks source link

how to allow use with ESPAsyncWiFiManager #99

Closed mjtrini closed 2 years ago

mjtrini commented 2 years ago

Hello,

I'm using a telegram bot via the CTBot library however it cannot connect using ESPAsyncWiFiManager since the function myBot.wifiConnect(ssid, password) requires ssid and password variables.

Is there any way for CTBot to connect with ESPAsyncWiFiManager ?

Regards, Michael.

mjtrini commented 2 years ago

Ok I solved it by removed the variables in the connect function. CTBot connects flawlessly!