public OnUpdateNextInstruction(ITelegramBotClient telegramBotClient, UpdateEventArgs updateEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient     = telegramBotClient;
     _updateEventArgs       = updateEventArgs;
     _commandChannelService = botPlatform.Resolve <ICommandChannelService>();
 }
Beispiel #2
0
 public RemoveChannel_Instruction(ITelegramBotClient telegramBotClient, CallbackQueryEventArgs callbackQueryEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient      = telegramBotClient;
     _callbackQueryEventArgs = callbackQueryEventArgs;
     _commandChannelService  = botPlatform.Resolve <ICommandChannelService>();
 }
Beispiel #3
0
 public ChatMembersAddedInstruction(ITelegramBotClient telegramBotClient, MessageEventArgs messageEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient     = telegramBotClient;
     _messageEventArgs      = messageEventArgs;
     _commandChannelService = botPlatform.Resolve <ICommandChannelService>();
 }