Open abdul-wahab619 opened 2 months ago
I'm getting the same above error. In our country telegram is ban and I also attach vpn but still getting this error how to resolve? If any can solve please lemme know.... Here is the code: const TelegramBot = require("node-telegram-bot-api");
const token = "Enter_Your_Token"; const bot = new TelegramBot(token, { polling: true });
bot.on("message", (msg) => { const chatId = msg.chat.id; const messageText = msg.text;
if (messageText === "/start") { bot.sendMessage(chatId, "Welcome to the bot!"); } }); here is the error: error: [polling_error] {"code":"EFATAL","message":"EFATAL: Error: read ECONNRESET"}
plus one on this one? Anyone have any release date on this?
here is the error: error: [polling_error] {"code":"EFATAL","message":"EFATAL: Error: read ECONNRESET"}