Beispiel #1
0
        public TLGBotik(BaseNetwork net, UpdateTLGMessages updater)
        {
            var botKey = System.IO.File.ReadAllText("botkey.txt");

            mybot            = new AIMLBotik();
            botik            = new Telegram.Bot.TelegramBotClient(botKey);
            botik.OnMessage += Botik_OnMessageAsync;
            //botik.OnMessage += MyBotik_OnMessageAsync;
            formUpdater = updater;
            perseptron  = net;
        }