public SentDailyMessageDigest(
     ILogger <SentDailyMessageDigest> logger,
     IConfiguration config,
     TelegramBotGrpcClient telegramBotClient)
 {
     rootUserChatId         = config.GetValue <string>("JobConfigs:RootUserChatId");
     this.logger            = logger;
     this.telegramBotClient = telegramBotClient;
 }
Пример #2
0
        public SendTelegramMessageHandler(TelegramBotGrpcClient telegramBotClient, IConfiguration config)
        {
            this.telegramBotClient = telegramBotClient;

            rootUserChatId = config.GetValue <string>("JobConfigs:RootUserChatId");
        }