witnessmenow / Universal-Arduino-Telegram-Bot

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

Set a String in void setup and paste it into the object #351

Open robedua opened 2 months ago

robedua commented 2 months ago

Good evening, first of all, congratulations on the creation of the library, very good indeed. CONGRATULATIONS!!! I'm trying to add the Telegram credentials CHAT_ID and BOTtoken, through a post method, so far so good, my problem is setting the value of the string and directing it to the object, in your library is there a way to set this String within the void setup? From what I understand in your library I define it in #define XXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Imagine a lay person adding these credentials without knowing programming. THANKS !!!!###