Esempio n. 1
0
        public TelegramBotClient(string token, IWebProxy webProxy)
        {
            _bot = new Bot();
            _bot.SetToken(token);

            _sender = new ApiSender(webProxy);
        }
Esempio n. 2
0
        public TelegramBotClient(string token, HttpClient httpClient = null)
        {
            _bot = new Bot();
            _bot.SetToken(token);

            _sender = new ApiSender(httpClient);
        }
Esempio n. 3
0
 public TelegramBotClient(IWebProxy webProxy)
 {
     _bot    = new Bot();
     _sender = new ApiSender(webProxy);
 }
Esempio n. 4
0
 public TelegramBotClient(HttpClient httpClient = null)
 {
     _bot    = new Bot();
     _sender = new ApiSender(httpClient);
 }