deleteWebhook

inline fun deleteWebhook(dropPendingUpdates: Boolean = false): DeleteWebhookAction

Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.

Api reference

Parameters

dropPendingUpdates

Pass True to drop all pending updates