コード例 #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;
 }