Open sanderkob opened 10 months ago
What is needed to implement long polling? Simply changing the timeout value in https://github.com/cotestatnt/AsyncTelegram2/blob/e48c5a940ac1700b28f33b5c673e03de2d6420b6/src/AsyncTelegram2.cpp#L138 does not work, at least not in my setup. I was expecting this to work, since the connection from the bot to the server is only closed when instructed by the server.
What is needed to implement long polling? Simply changing the timeout value in https://github.com/cotestatnt/AsyncTelegram2/blob/e48c5a940ac1700b28f33b5c673e03de2d6420b6/src/AsyncTelegram2.cpp#L138 does not work, at least not in my setup. I was expecting this to work, since the connection from the bot to the server is only closed when instructed by the server.