mast / telegram-bot-api

First Telegram Bot API node.js library
http://mast.github.io/telegram-bot-api/
MIT License
246 stars 64 forks source link

Error with SendMessage in 2.0.1v #84

Open govindkrishnaamt opened 2 years ago

govindkrishnaamt commented 2 years ago

Different errors are thrown from API SendMessage, sendPhoto, sendDocument & sendVideo. Same Text or video files are getting different error messages, also send is getting sent after sometimes even after the error is thrown. Issue was happened after updating the telegram-bot-api NPM from version 1.3.3 to 2.0.1. issue is not replicated once after degrading the version back to 1.3.3

{"code":"ETIMEDOUT","connect":true}

{"code":400,"description":"Bad Request: failed to get HTTP URL content","body":{"ok":false,"error_code":400,"description":"Bad Request: failed to get HTTP URL content"}}

Could you pls find a solution for the 2.0.1 version issue.