Exemplo n.º 1
0
 public BotHandler(ITelegramBotClient botClient, ExecutorsFactory factory, UserMessageParser parser, IUserCommandTypeService typeService, IUserCommandStateService stateService, CommandParser commandParser)
 {
     this.botClient           = botClient;
     this.executorsFactory    = factory;
     this.parser              = parser;
     this.commandTypeService  = typeService;
     this.commandStateService = stateService;
     this.commandParser       = commandParser;
 }
Exemplo n.º 2
0
 public BackExecutor(ITelegramBotClient botClient, IUserCommandStateService stateService)
 {
     this.client       = botClient;
     this.stateService = stateService;
 }