Class DeleteWebhook.DeleteWebhookBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.webhooks.DeleteWebhook.DeleteWebhookBuilder
-
- Enclosing class:
- DeleteWebhook
public static class DeleteWebhook.DeleteWebhookBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteWebhook
build()
DeleteWebhook.DeleteWebhookBuilder
callback(java.lang.Runnable callback)
DeleteWebhook.DeleteWebhookBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
java.lang.String
toString()
-
-
-
Method Detail
-
errorHandler
public DeleteWebhook.DeleteWebhookBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
callback
public DeleteWebhook.DeleteWebhookBuilder callback(java.lang.Runnable callback)
-
build
public DeleteWebhook build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-