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