Class LongPollingBotSettings.Builder
java.lang.Object
org.teleight.teleightbots.bot.settings.LongPollingBotSettings.Builder
- Enclosing class:
LongPollingBotSettings
-
Method Summary
Modifier and TypeMethodDescriptionallowedUpdates(List<String> allowedUpdates) build()endpointUrl(String endpointUrl) extensionsEnabled(boolean extensionsEnabled) silentlyThrowMethodExecution(boolean silentlyThrowMethodExecution) toString()updatesLimit(int updatesLimit) updatesTimeout(int updatesTimeout)
-
Method Details
-
endpointUrl
- Returns:
this.
-
updatesLimit
- Returns:
this.
-
updatesTimeout
- Returns:
this.
-
silentlyThrowMethodExecution
public LongPollingBotSettings.Builder silentlyThrowMethodExecution(boolean silentlyThrowMethodExecution) - Returns:
this.
-
extensionsEnabled
- Returns:
this.
-
allowedUpdates
- Returns:
this.
-
build
-
toString
-