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