Class WebhookBotSettings.Builder
java.lang.Object
org.teleight.teleightbots.bot.settings.WebhookBotSettings.Builder
- Enclosing class:
WebhookBotSettings
-
Method Summary
Modifier and TypeMethodDescriptionallowedUpdates(String[] allowedUpdates) build()certificate(InputFile certificate) dropPendingUpdates(boolean dropPendingUpdates) extensionsEnabled(boolean extensionsEnabled) maxConnections(int maxConnections) secretToken(String secretToken) silentlyThrowMethodExecution(boolean silentlyThrowMethodExecution) toString()
-
Method Details
-
url
- Returns:
this.
-
path
- Returns:
this.
-
certificate
- Returns:
this.
-
ipAddress
- Returns:
this.
-
maxConnections
- Returns:
this.
-
allowedUpdates
- Returns:
this.
-
dropPendingUpdates
- Returns:
this.
-
secretToken
- Returns:
this.
-
silentlyThrowMethodExecution
public WebhookBotSettings.Builder silentlyThrowMethodExecution(boolean silentlyThrowMethodExecution) - Returns:
this.
-
extensionsEnabled
- Returns:
this.
-
build
-
toString
-