We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b23fb1 commit ad0b52fCopy full SHA for ad0b52f
2 files changed
src/AsyncTelegram2.cpp
@@ -56,6 +56,10 @@ bool AsyncTelegram2::begin()
56
return getMe();
57
}
58
59
+ void AsyncTelegram2::useUnsecureClient(void){
60
+ telegramClient->setInsecure();
61
+ }
62
+
63
bool AsyncTelegram2::reset(void)
64
{
65
static uint32_t lastResetTime;
src/AsyncTelegram2.h
@@ -105,6 +105,9 @@ class AsyncTelegram2
105
// true if no error occurred
106
bool begin(void);
107
108
+ // use the network client in unsecure mode
109
+ void useUnsecureClient(void);
110
111
// reset the connection between ESP8266 and the telegram server (ex. when connection was lost)
112
// returns
113
0 commit comments