コード例 #1
0
 public UpdateRouter(ITelegramBotClient client, GraveKeeper graveKeeper, IConfigManager <BotConfig> configManager, Stats stats)
 {
     _botClient     = client;
     _graveKeeper   = graveKeeper;
     _configManager = configManager;
     _stats         = stats;
 }
コード例 #2
0
 public BotRoutingContext(ITelegramBotClient client, GraveKeeper graveKeeper, IConfigManager <BotConfig> configManager, Stats stats, Update update)
 {
     BotClient     = client;
     GraveKeeper   = graveKeeper;
     ConfigManager = configManager;
     Stats         = stats;
     Update        = update;
 }