public static final class TelegramBot.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(java.lang.String botToken) |
Modifier and Type | Method and Description |
---|---|
TelegramBot.Builder |
apiUrl(java.lang.String apiUrl) |
TelegramBot |
build() |
TelegramBot.Builder |
debug() |
TelegramBot.Builder |
fileApiUrl(java.lang.String fileApiUrl) |
TelegramBot.Builder |
okHttpClient(okhttp3.OkHttpClient client) |
TelegramBot.Builder |
updateListenerSleep(long millis) |
public TelegramBot.Builder debug()
public TelegramBot.Builder okHttpClient(okhttp3.OkHttpClient client)
public TelegramBot.Builder apiUrl(java.lang.String apiUrl)
public TelegramBot.Builder fileApiUrl(java.lang.String fileApiUrl)
public TelegramBot.Builder updateListenerSleep(long millis)
public TelegramBot build()