Esempio n. 1
0
        static void Main(string[] args)
        {
            Controlls.SSL();
            Controlls ctrl = new Controlls();//bot controller

            Console.WriteLine("Server Started ");
            while (true)
            {
                string   last_index  = ctrl.read_index();
                T_result new_massage = ctrl.get_update(last_index);
                if (new_massage.result.Count > 0)
                {
                    ctrl.responce(new_massage);
                    ctrl.save_index(ctrl.get_update());
                }
            }
        }