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 dropPendingUpdates)
      Optional
      Parameters:
      dropPendingUpdates - Pass True to drop all pending updates
      Returns:
      DeleteWebhook