public static List <TelegramBot> GetBots(string sect)
        {
            var data = new List <TelegramBot>
            {
                new TelegramBot
                {
                    Token      = HIniParser.Baca(sect, "Token"),
                    UriClean   = HIniParser.Baca(sect, "UriClean"),
                    UriCurrent = HIniParser.Baca(sect, "UriCurrent")
                }
            };

            return(data);
        }
Beispiel #2
0
 public static object Baca(string setting)
 {
     return(HIniParser.Baca(sect, setting));
 }