Skip to main content

All Questions

-1 votes
1 answer
700 views

Why telegram-bot on Python with Webhooks can't process messages from many users simultaneously unlike a bot with Long Polling?

I use aiogram. Logic of my bot is very simple - he receive messages from user and send echo-message after 10 seconds. This is a test bot, but in general, I want to make a bot for buying movies with ...
Tomas Angelo's user avatar
1 vote
0 answers
115 views

Can't enable telegram bot with webhook in virtual machine

I use a bot in the ubuntu virtual machine and where Host I don’t know what address to write down. I used ngrok and entered something like this: WEBHOOK_HOST = 'https://9339-31-41-61-134.eu.ngrok.io' ...
KrekerMeister's user avatar
0 votes
1 answer
385 views

Telegram Bot(ngrok) deploy to heroku

I have created a telegram bot using flask which works completely fine with ngrok but I want to deploy it to Heroku for lifetime use. Below is my webhook function where I used this ngrok url but I want ...
Aniket's user avatar
  • 1
0 votes
1 answer
3k views

Invalid webhook url specified Error in Telegram bot

I am trying to make a simple telegram echo bot and use webhooks in it (ngrok). I am getting this error, I can't seem to figure out what I am doing wrong. I also tried releasing port 8443, but still ...
sky_walker18's user avatar
0 votes
3 answers
2k views

Telegram bot does not get updates from webhook

I have faced the following problem after moving my bot to the new server. I use webhook to get updates but now the bot does not get them from telegram servers. I tried to send POST request with curl ...
oninbo's user avatar
  • 23
5 votes
0 answers
4k views

Connection time-out on telegram-bot

I am using python and cherrypy with my telegram bot. Also, I am using webhooks instead of long polling. But the bot doesn't work. Get_webhook_info returns this message: { "ok": true, "result": ...
Timur Nasyrov's user avatar
1 vote
1 answer
3k views

Webhook not working on python telegram bot

Please, someone help me with this, I'am really struggling for hours by now. Don't know what to do anymore, searched every page everywhere, still no solution. I have a telegram BOT which I'am ...
Rodrigo Formighieri's user avatar
2 votes
0 answers
317 views

Webhooks in Flask on Heroku

I have a flask app running on heroku: I am writing a telegram bot. Given that I have already set the webhook url, what is the most effective way to handle the Updates requests? Here there is an ...
Angelo's user avatar
  • 787
3 votes
2 answers
1k views

Telegram webhooks POST requests have empty payload

I'm trying to register webhooks for my Telegram bot using the API call setWebhook. I got a public HTTPS url from ngrok for my local server which I passed to setWebhook. Whenever a new message is ...
Forge's user avatar
  • 6,854