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

Method remove_webhook

telebot/async_telebot.py:3050–3055  ·  view source on GitHub ↗

Alternative for delete_webhook but uses set_webhook

(self)

Source from the content-addressed store, hash-verified

3048 return await asyncio_helper.delete_webhook(self.token, drop_pending_updates, timeout)
3049
3050 async def remove_webhook(self) -> bool:
3051 """
3052 Alternative for delete_webhook but uses set_webhook
3053 """
3054 result = await self.set_webhook()
3055 return result
3056
3057 async def get_webhook_info(self, timeout: Optional[int]=None) -> types.WebhookInfo:
3058 """

Callers

nothing calls this directly

Calls 1

set_webhookMethod · 0.95

Tested by

no test coverage detected