Replies: 2 comments 4 replies
-
Node version? |
Beta Was this translation helpful? Give feedback.
4 replies
-
I'm using telegraf in Cloudflare Workers and had the same problem. After some search and lots of test, I found that add this line in index.js or import this line will resolve this problem.
The code is taken from the migration from v3 to v4 of cfworker-middleware-telegraf |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, could you please assist me.
const bot = new Telegraf(MY_TOKEN);
bot.start((ctx) => ctx.reply("Welcome"));
bot.launch(); ====> TypeError: url_1.URL is not a constructor at Telegram.callApi
Beta Was this translation helpful? Give feedback.
All reactions