Beispiel #1
0
 public RemoveRssInstruction(ITelegramBotClient telegramBotClient, CallbackQueryEventArgs callbackQueryEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient           = telegramBotClient;
     _callbackQueryEventArgs      = callbackQueryEventArgs;
     _queryRssService             = botPlatform.Resolve <IQueryRssService>();
     _queryRssChatRelationService = botPlatform.Resolve <IQueryRssChatRelationService>();
 }
Beispiel #2
0
 public DefaultInstruction(ITelegramBotClient telegramBotClient, MessageEventArgs messageEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient = telegramBotClient;
     _messageEventArgs  = messageEventArgs;
     _commandRssService = botPlatform.Resolve <ICommandRssService>();
     _queryRssService   = botPlatform.Resolve <IQueryRssService>();
 }
 public Add_Channel_Rss_Instruction(ITelegramBotClient telegramBotClient, CallbackQueryEventArgs callbackQueryEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient      = telegramBotClient;
     _callbackQueryEventArgs = callbackQueryEventArgs;
     _commandRssChatService  = botPlatform.Resolve <ICommandRssChatRelationService>();
     _queryRssService        = botPlatform.Resolve <IQueryRssService>();
     _queryChannelService    = botPlatform.Resolve <IQueryChannelService>();
 }
Beispiel #4
0
 public RemoveChannel_Instruction(ITelegramBotClient telegramBotClient, CallbackQueryEventArgs callbackQueryEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient      = telegramBotClient;
     _callbackQueryEventArgs = callbackQueryEventArgs;
     _commandChannelService  = botPlatform.Resolve <ICommandChannelService>();
 }
 public OnUpdateNextInstruction(ITelegramBotClient telegramBotClient, UpdateEventArgs updateEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient     = telegramBotClient;
     _updateEventArgs       = updateEventArgs;
     _commandChannelService = botPlatform.Resolve <ICommandChannelService>();
 }
Beispiel #6
0
 public ChatMembersAddedInstruction(ITelegramBotClient telegramBotClient, MessageEventArgs messageEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient     = telegramBotClient;
     _messageEventArgs      = messageEventArgs;
     _commandChannelService = botPlatform.Resolve <ICommandChannelService>();
 }