Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/getWebhookInfo returns blank url #1207

Open
ghost opened this issue Jun 28, 2024 · 2 comments
Open

/getWebhookInfo returns blank url #1207

ghost opened this issue Jun 28, 2024 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 28, 2024

i try to set up webhook. everything is ok, setting up the url https://d934-178-218-72-45.ngrok-free.app/ ...
url created by ngrok to easily get https url
after /getWebhookInfo i receive empty url
image

i set webhook via node-telegram-bot-api function

@web3devfun
Copy link

@Rogueknighttt I have this kind of issue before.
Fixed By: seting polling to false, when init the bot. like: new TelegramBot(token, { polling: false });

@brendancjz
Copy link

@Rogueknighttt I have this kind of issue before. Fixed By: seting polling to false, when init the bot. like: new TelegramBot(token, { polling: false });

This does not work for me :(

const bot = new TelegramBot(process.env.TELEGRAM_TOKEN, {polling: false});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants