diff --git a/telegram/ext/updater.py b/telegram/ext/updater.py index c64bad23a..a3b78e55b 100644 --- a/telegram/ext/updater.py +++ b/telegram/ext/updater.py @@ -328,7 +328,7 @@ class Updater(object): try: if clean: # Disable webhook for cleaning - self.bot.setWebhook(webhook_url='') + self.bot.deleteWebhook() self._clean_updates() sleep(1)