Class DeleteWebhook

java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<DeleteWebhook, Boolean>
io.github.natanimn.telebof.requests.delete.DeleteWebhook

public class DeleteWebhook extends AbstractBaseRequest<DeleteWebhook, Boolean>
DeleteWebhook class. Returns True on success.
Since:
3 March 2025
  • Constructor Details

    • DeleteWebhook

      public DeleteWebhook(Api api)
  • Method Details

    • dropPendingUpdates

      public DeleteWebhook dropPendingUpdates(boolean drop_pending_updates)
      Optional
      Parameters:
      drop_pending_updates - Pass True to drop all pending updates
      Returns:
      DeleteWebhook