예제 #1
0
 public NotRegisterTG(TGMessageSender tgMessageSender,
                      IPeopleParser peopleParser,
                      TGUnknownMessageProcessor tgUnknownMessageProcessor,
                      StandardKernel container)
 {
     this.tgMessageSender           = tgMessageSender;
     this.peopleParser              = peopleParser;
     this.tgUnknownMessageProcessor = tgUnknownMessageProcessor;
     this.container = container;
 }
예제 #2
0
 public TelegramBotUI(
     TelegramBotClient newClient,
     IPeopleParser newPeopleParser,
     CommandTGFactory commandTgFactory,
     TGMessageSender tgMessageSender)
 {
     client                = newClient;
     peopleParser          = newPeopleParser;
     this.commandTgFactory = commandTgFactory;
     this.tgMessageSender  = tgMessageSender;
 }
예제 #3
0
 public TGUnknownMessageProcessor(
     TGMessageSender tgMessageSender,
     RegisterCommandListProvider registerCommandListProvider,
     RegisterInProcessCommandListProvider registerInProcessCommandListProvider,
     NotRegicterCommandListProvider notRegicterCommandListProvider,
     HelpCommandListProvider helpCommandListProvider)
 {
     this.tgMessageSender                      = tgMessageSender;
     this.registerCommandListProvider          = registerCommandListProvider;
     this.registerInProcessCommandListProvider = registerInProcessCommandListProvider;
     this.notRegicterCommandListProvider       = notRegicterCommandListProvider;
     this.helpCommandListProvider              = helpCommandListProvider;
 }
예제 #4
0
 public RegisterInProcessTG(MessageHandler messageHandler,
                            TGMessageSender tgMessageSender,
                            IPeopleParser peopleParser,
                            TGUnknownMessageProcessor tgUnknownMessageProcessor,
                            GroupProvider groupProvider,
                            StandardKernel container)
 {
     this.messageHandler            = messageHandler;
     this.tgMessageSender           = tgMessageSender;
     this.peopleParser              = peopleParser;
     this.tgUnknownMessageProcessor = tgUnknownMessageProcessor;
     this.groupProvider             = groupProvider;
     this.container = container;
 }
예제 #5
0
 public RegisterTG(StandardKernel container,
                   MessageHandler messageHandler,
                   TGMessageSender tgMessageSender,
                   TGUnknownMessageProcessor tgUnknownMessageProcessor,
                   RegisterCommandListProvider registerCommandListProvider,
                   IPeopleParser peopleParser)
 {
     this.container                   = container;
     this.messageHandler              = messageHandler;
     this.tgMessageSender             = tgMessageSender;
     this.tgUnknownMessageProcessor   = tgUnknownMessageProcessor;
     this.registerCommandListProvider = registerCommandListProvider;
     this.peopleParser                = peopleParser;
 }