Class TelegramBotAdapter


  • @Deprecated
    public class TelegramBotAdapter
    extends java.lang.Object
    Deprecated.
    Use TelegramBot(botToken) or TelegramBot.Builder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String API_URL
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TelegramBotAdapter()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static TelegramBot build​(java.lang.String botToken)
      Deprecated.
       
      static TelegramBot buildCustom​(java.lang.String botToken, okhttp3.OkHttpClient okHttpClient)
      Deprecated.
       
      static TelegramBot buildCustom​(java.lang.String botToken, okhttp3.OkHttpClient okHttpClient, java.lang.String apiUrl)
      Deprecated.
       
      static TelegramBot buildDebug​(java.lang.String botToken)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TelegramBotAdapter

        public TelegramBotAdapter()
        Deprecated.
    • 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.