peyk.platforms.telegram.methods.delete_webhook¶
- async peyk.platforms.telegram.methods.delete_webhook(self, *, drop_pending_updates: bool | None = None) bool[source]¶
Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.
- Parameters:
drop_pending_updates – Pass True to drop all pending updates
- Returns:
Result returned by Telegram on successful execution.
- Return type:
bool