Package com.pengrad.telegrambot
Class TelegramBotAdapter
- java.lang.Object
-
- com.pengrad.telegrambot.TelegramBotAdapter
-
@Deprecated public class TelegramBotAdapter extends java.lang.ObjectDeprecated.Use TelegramBot(botToken) or TelegramBot.Builder
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPI_URLDeprecated.
-
Constructor Summary
Constructors Constructor Description TelegramBotAdapter()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TelegramBotbuild(java.lang.String botToken)Deprecated.static TelegramBotbuildCustom(java.lang.String botToken, okhttp3.OkHttpClient okHttpClient)Deprecated.static TelegramBotbuildCustom(java.lang.String botToken, okhttp3.OkHttpClient okHttpClient, java.lang.String apiUrl)Deprecated.static TelegramBotbuildDebug(java.lang.String botToken)Deprecated.
-
-
-
Field Detail
-
API_URL
public static final java.lang.String API_URL
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public static TelegramBot build(java.lang.String botToken)
Deprecated.
-
buildDebug
public static TelegramBot buildDebug(java.lang.String botToken)
Deprecated.
-
buildCustom
public static TelegramBot buildCustom(java.lang.String botToken, okhttp3.OkHttpClient okHttpClient)
Deprecated.
-
buildCustom
public static TelegramBot buildCustom(java.lang.String botToken, okhttp3.OkHttpClient okHttpClient, java.lang.String apiUrl)
Deprecated.
-
-