Closed iComputerfreak closed 2 years ago
I can confirm, that the bug also exists when creating a new project using the Trivial Bot example from the README.md.
it seems they don't support it, maybe you try my package for Vapor https://github.com/nerzh/telegram-vapor-bot
Thanks, but I already switched to another SDK now.
When running my bot (which uses your API v2.1.0) on Ubuntu 16.04, the API's getUpdates request does not work. When starting the bot I get the following output:
When I run the same bot on macOS 10.15 (Catalina), it works like expected:
After every getUpdates request, the bot waits 60 seconds or until someone uses a command. On Ubuntu, the bot just spams the getUpdates requests (2 at a time, every two second).
If I use a command, while the bot runs on Ubuntu, the bot tries to send the reply infinitely (but no message is received by me in Telegram).
This happens more than once per second.
Both machines use Swift 5.2.4 My Bot: https://github.com/iComputerfreak/NotifierBot