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...
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
Another reason: check the allowed_updates maybe you forgot something
The firewall had restricted Telegram's IP, the problem was solved
Обсуждают сегодня