public TelegramMessageEntityExtractEventHandler(
     ILogger <TelegramMessageEntityExtractEventHandler> logger,
     ITelegramHttpClient telegramHttpClient,
     IChatService chatService)
 {
     _logger             = logger;
     _telegramHttpClient = telegramHttpClient;
     _chatService        = chatService;
 }
 public TelegramChatJoinEventHandler(
     ILogger <TelegramChatJoinEventHandler> logger,
     IEventBus eventBus,
     IChatService chatService,
     ITelegramHttpClient telegramHttpClient)
 {
     _logger             = logger;
     _eventBus           = eventBus;
     _chatService        = chatService;
     _telegramHttpClient = telegramHttpClient;
 }
Exemplo n.º 3
0
 public TelegramChatRefreshEventHandler(
     ILogger <TelegramChatRefreshEventHandler> logger,
     IRepository <Chat> chatRepository,
     ITelegramHttpClient telegramHttpClient,
     IChatService chatService)
 {
     _logger             = logger;
     _chatRepository     = chatRepository;
     _telegramHttpClient = telegramHttpClient;
     _chatService        = chatService;
 }
Exemplo n.º 4
0
 public MessageService(
     IEventBus eventBus,
     IRepository <Message> repository,
     ITelegramHttpClient telegramHttpClient,
     IChatService chatService,
     IUserService userService)
 {
     _eventBus           = eventBus;
     _repository         = repository;
     _chatService        = chatService;
     _userService        = userService;
     _telegramHttpClient = telegramHttpClient;
 }
Exemplo n.º 5
0
 public ChatService(
     IEventBus eventBus,
     ICacheManager cacheManager,
     ITelegramHttpClient telegramHttpClient,
     IRepository <Chat> chatRepository,
     IRepository <ChatMember> chatMemberRepository,
     IRepository <Category> categoryRepository)
 {
     _eventBus             = eventBus;
     _cacheManager         = cacheManager;
     _telegramHttpClient   = telegramHttpClient;
     _chatRepository       = chatRepository;
     _chatMemberRepository = chatMemberRepository;
     _categoryRepository   = categoryRepository;
 }
Exemplo n.º 6
0
 public TelegramApi(ITelegramHttpClient client, ILogger logger)
 {
     _client = client;
     _logger = logger;
 }