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; }
public TelegramChatRefreshEventHandler( ILogger <TelegramChatRefreshEventHandler> logger, IRepository <Chat> chatRepository, ITelegramHttpClient telegramHttpClient, IChatService chatService) { _logger = logger; _chatRepository = chatRepository; _telegramHttpClient = telegramHttpClient; _chatService = chatService; }
public MessageService( IEventBus eventBus, IRepository <Message> repository, ITelegramHttpClient telegramHttpClient, IChatService chatService, IUserService userService) { _eventBus = eventBus; _repository = repository; _chatService = chatService; _userService = userService; _telegramHttpClient = telegramHttpClient; }
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; }
public TelegramApi(ITelegramHttpClient client, ILogger logger) { _client = client; _logger = logger; }