I'm trying to do a proyect with conecting a Telegram bot with a esp-01 module. Telegram needs a SSL Client conection so I can't find how to connect WifiESP SSL client to Telegrambot.
I found thingerWifi library to do a client SSL conection and I would like what is the way to do it.
May be that code?
#include < UniversalTelegramBot.h >
include < WiFiEsp.h >
include < ThingerWifi.h >
include < SoftwareSerial.h >
SoftwareSerial Serial1(7, 8);
// wifi conection code
const char* BotToken = "Telegram_credential"; // your Bot Token
const char* BOTname = "bot_name";
const char* BOTusername = "bot_username";
// this is code for general purposses ThingerWifi thing(USERNAME, DEVICE_ID, //DEVICE_CREDENTIAL);
ThingerWifi THING(bot_username, bot_name, Telegram_credential);
// now it is needed insert the wifi serure client in telegram like this: WiFiClientSecure client;
UniversalTelegramBot bot(BotToken, THING);
May be a way to use thingerWifi with Telegram?
How can I create a Wifi-Secure-Client socket for arduino+ESP-01?
Thanks a lot for your help