public SentDailyMessageDigest( ILogger <SentDailyMessageDigest> logger, IConfiguration config, TelegramBotGrpcClient telegramBotClient) { rootUserChatId = config.GetValue <string>("JobConfigs:RootUserChatId"); this.logger = logger; this.telegramBotClient = telegramBotClient; }
public SendTelegramMessageHandler(TelegramBotGrpcClient telegramBotClient, IConfiguration config) { this.telegramBotClient = telegramBotClient; rootUserChatId = config.GetValue <string>("JobConfigs:RootUserChatId"); }