public MessageController(IMessageService objService, IArticleThumbsUpService articleThumbsUpService, IWechatMessageLogService messageLogService, IAutoReplyService autoReplyService, IWechatPreviewMessageLogService previewMessageLogService) : base(objService) { _objService = objService; _articleThumbsUpService = articleThumbsUpService; _messageLogService = messageLogService; _autoReplyService = autoReplyService; _previewMessageLogService = previewMessageLogService; }
public TelegramBotService( ITelegramBotClient telegramBotClient, IGameRepository gameRepository, ICommandsService commandsService, IAutoReplyService autoReplyService) { _telegramBotClient = telegramBotClient; _gameRepository = gameRepository; _commandsService = commandsService; _autoReplyService = autoReplyService; _telegramBotClient.OnMessage += Bot_OnMessage; _telegramBotClient.OnReceiveError += Client_OnReceiveError; _telegramBotClient.OnReceiveGeneralError += Client_OnReceiveGeneralError; }
public AutoReplyController(IAutoReplyService objService, IArticleInfoService articleInfoService, IAttachmentsItemService fileManageService, IAttachmentsItemService attachmentsItemService, IWechatUserRequestMessageTagService messageTagService, ISystemUserTagService systemUserTagService) : base(objService) { _autoReplyService = objService; _articleInfoService = articleInfoService; _fileManageService = fileManageService; _attachmentsItemService = attachmentsItemService; _messageTagService = messageTagService; _systemUserTagService = systemUserTagService; AppId = (int)CategoryType.Undefined; ViewBag.AppId = AppId; }
//记录用户行为 //Innocellence.WeChat.Domain.Common.WebRequestPost wr = new Innocellence.WeChat.Domain.Common.WebRequestPost(); public ArticleInfoController(IArticleInfoService objService, IArticleThumbsUpService articleThumbsUpService, IMessageService messageService, IWechatMessageLogService messageLogService, IAutoReplyService autoReplyService, IWechatPreviewMessageLogService previewMessageLogService, IWechatMPUserService wechatMPUserService, IArticleInfoReadHistoryService articleInfoReadHistoryService ) : base(objService) { _objService = objService; _messageService = messageService; _articleThumbsUpService = articleThumbsUpService; _messageLogService = messageLogService; _autoReplyService = autoReplyService; _previewMessageLogService = previewMessageLogService; _wechatMPUserService = wechatMPUserService; _articleInfoReadHistoryService = articleInfoReadHistoryService; }