Hello, excuse me, one question, why does my bot not

receive any updates from Telegram ?


- token is correct
- set web hook url is correct
- pending updates is 0
- ...



I put the webhook url on another bot and tried it , everything is correct...

7 ответов

30 просмотров
𝐆𝐎𝐎𝐃 𝐁𝐎𝐘- Автор вопроса

I was a little confused

Check the server if he receive any requests, and print all webhook requests

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘
I did this but to no avail

Ok did you got any requests for this bot? If yes so debug your code, if no so there are problem in webhook

you check through the "getupdates" method, if so, what parameters do you specify? It may also be that someone has already launched your bot and he himself skips these updates

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘
I did this but to no avail

Another reason: check the allowed_updates maybe you forgot something

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘- Автор вопроса

The firewall had restricted Telegram's IP, the problem was solved

Похожие вопросы

Карта сайта