static void Main(string[] args) { var Bot = new TelegramBot(); Bot.StartBot(); Console.ReadKey(); }
static void Main(string[] args) { System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; var Bot = new TelegramBot(); Bot.StartBot(); Console.ReadKey(); }