MCPcopy Create free account
hub / github.com/eternnoir/pyTelegramBotAPI / remove_webhook

Method remove_webhook

telebot/__init__.py:622–629  ·  view source on GitHub ↗

Deletes webhooks using set_webhook() function. :return: True on success. :rtype: :obj:`bool`

(self)

Source from the content-addressed store, hash-verified

620
621
622 def remove_webhook(self) -> bool:
623 """
624 Deletes webhooks using set_webhook() function.
625
626 :return: True on success.
627 :rtype: :obj:`bool`
628 """
629 return self.set_webhook() # No params resets webhook
630
631
632 def get_updates(self, offset: Optional[int]=None, limit: Optional[int]=None,

Callers 10

webhookFunction · 0.45
webhookFunction · 0.45
shutdownFunction · 0.45
setupFunction · 0.45

Calls 1

set_webhookMethod · 0.95

Tested by

no test coverage detected