コード例 #1
0
 public ChatMembersAddedInstruction(ITelegramBotClient telegramBotClient, MessageEventArgs messageEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient     = telegramBotClient;
     _messageEventArgs      = messageEventArgs;
     _commandChannelService = botPlatform.Resolve <ICommandChannelService>();
 }
コード例 #2
0
 public ListChannelsInstruction(ITelegramBotClient telegramBotClient, CallbackQueryEventArgs callbackQueryEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient      = telegramBotClient;
     _callbackQueryEventArgs = callbackQueryEventArgs;
     _queryChannelService    = botPlatform.Resolve <IQueryChannelService>();
     _queryRssChatService    = botPlatform.Resolve <IQueryRssChatRelationService>();
 }
コード例 #3
0
 public RemoveGroup_Instruction(ITelegramBotClient telegramBotClient, CallbackQueryEventArgs callbackQueryEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient      = telegramBotClient;
     _callbackQueryEventArgs = callbackQueryEventArgs;
     _commandChannelService  = botPlatform.Resolve <ICommandChannelService>();
 }
コード例 #4
0
 public OnCallBackQueryNextInstruction(ITelegramBotClient telegramBotClient, CallbackQueryEventArgs callbackQueryEventArgs, BotPlatform botPlatform)
 {
     _telegramBotClient      = telegramBotClient;
     _callbackQueryEventArgs = callbackQueryEventArgs;
     _botPlatform            = botPlatform;
 }