Telegram error 409. How to solve?

Viewed 6531
2 Answers

Quoted from Telegram-Bot-Api,

Notes

  1. You will not be able to receive updates using getUpdates for as long as an outgoing webhook is set up.

To solve this, delete the webhook you did setup using your bot-token by simply providing no url:

https://api.telegram.org/bot<token>/setWebhook

let's say, your bot-token: 12345:abxef3ed
So, you just perform this: https://api.telegram.org/bot12345:abxef3ed/setWebhook

make sure you wrote 'bot' before token, not only token itself!



*I know this is too late for you, but may help others.

Related