Package com.jtelegram.api
Class TelegramBotRegistry.TelegramBotRegistryBuilder
- java.lang.Object
-
- com.jtelegram.api.TelegramBotRegistry.TelegramBotRegistryBuilder
-
- Enclosing class:
- TelegramBotRegistry
public static class TelegramBotRegistry.TelegramBotRegistryBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TelegramBotRegistry.TelegramBotRegistryBuilder
apiUrl(java.lang.String apiUrl)
TelegramBotRegistry
build()
TelegramBotRegistry.TelegramBotRegistryBuilder
client(okhttp3.OkHttpClient client)
TelegramBotRegistry.TelegramBotRegistryBuilder
eventThreadCount(java.lang.Integer eventThreadCount)
java.lang.String
toString()
TelegramBotRegistry.TelegramBotRegistryBuilder
updateProvider(UpdateProvider updateProvider)
-
-
-
Method Detail
-
updateProvider
public TelegramBotRegistry.TelegramBotRegistryBuilder updateProvider(UpdateProvider updateProvider)
-
apiUrl
public TelegramBotRegistry.TelegramBotRegistryBuilder apiUrl(java.lang.String apiUrl)
-
client
public TelegramBotRegistry.TelegramBotRegistryBuilder client(okhttp3.OkHttpClient client)
-
eventThreadCount
public TelegramBotRegistry.TelegramBotRegistryBuilder eventThreadCount(java.lang.Integer eventThreadCount)
-
build
public TelegramBotRegistry build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-