public SendNewQuoteCommand(ITelegramClient telegramClient, IQuoteRepository quoteRepository) { _quoteRepository = quoteRepository; _telegramBotClient = telegramClient.GetInstance(); }
public SendVolunteerPageCommand(ITelegramClient telegramClient, IVolunteerPageRepository volunteerPageRepository) { _telegramBotClient = telegramClient.GetInstance(); _volunteerPageRepository = volunteerPageRepository; }
public TranslateCommand(ITranslateService translateService, ITelegramClient telegramClient) { _translateService = translateService; _telegramBotClient = telegramClient.GetInstance(); }
public StartCommand(IChatRepo repo, ITelegramClient client, ILogger <StartCommand> logger) { this._repo = repo; this._client = client; this._logger = logger; }
public Handler(IAggregateStore aggregateStore, ITelegramClient telegramClient) { _aggregateStore = aggregateStore; _telegramClient = telegramClient; }
private async Task SendMessage(ITelegramClient client, TlUser user) { await client.SendMessageAsync(new TlInputPeerUser { UserId = user.Id }, "TEST_" + Random.Next()); }
public DeleteScheduleCommandMatcher(IChatRepo repo, ITelegramClient client) : base(repo, client, CommandNames.DeleteSchedule) { }
public SendNewQuestionCommand(IWordRepository wordRepository, ITelegramClient telegramClient) { _wordRepository = wordRepository; _telegramBotClient = telegramClient.GetInstance(); }
public TrackingController(BotDbContext context, ITelegramClient client) { _context = context; _client = client; }
public SendNewWordCommand(ITelegramClient telegramClient, IWordRepository wordRepository) { _wordRepository = wordRepository; _telegramBotClient = telegramClient.GetInstance(); }
public TelegramController(ITelegramClient telegramClient) { _telegramClient = telegramClient; }
public HangfireActions(ITelegramClient client) { this._client = client; }
public AddAlertsCommandMatcher(ITelegramClient client, IChatRepo repo) : base(client, repo, CommandNames.AddAlerts) { }
public SetupCommandMatcher(IChatRepo repo, ITelegramClient client) : base(client, repo, CommandNames.Setup) { }
public ContactCommand(ITelegramClient telegramClient) { _telegramBotClient = telegramClient.GetInstance(); }
public ShowCommand(ITelegramClient telegramClient) { _telegramBotClient = telegramClient.GetInstance(); }
public SubscriberDtoFactory( ITelegramClient telegramClient ) { this.telegramClient = telegramClient; }
public StatsService(IOccasionRepository occasionRepository, IPollRepository pollRepository, ITelegramClient telegramClient, IPollAnswerRepository pollAnswerRepository) { _occasionRepository = occasionRepository; _pollRepository = pollRepository; _telegramClient = telegramClient; _pollAnswerRepository = pollAnswerRepository; }
public AccountDeletedHandler(ITelegramClient telegramClient) { _telegramClient = telegramClient; }
private async Task <IUpdates> SendMessage(ITelegramClient client, TUser user, CancellationToken cancellationToken = default(CancellationToken)) { return(await client.MessagesService.SendMessageAsync(new TInputPeerUser { UserId = user.Id }, "TEST_" + Random.Next(), cancellationToken)); }
public SendingService(SimpleIoC ioc) { _client = ioc.Resolve <ITelegramClient>(); _ioc = ioc; }
public Handler(ITelegramClient telegramClient, IAggregateStore aggregateStore) { _telegramClient = telegramClient; _aggregateStore = aggregateStore; }
public TelegramOutMessageRenderer(ITelegramClient telegramClient) { _telegramClient = telegramClient; }
public CreateScheduleCommand(ITelegramClient client) { this._client = client; }
//public event Action<string, string, DateTime> OnAddUnreadMessageFromChannel; public ReceivingService(SimpleIoC ioc) { _ioc = ioc; _client = ioc.Resolve <ITelegramClient>(); _client.Updates.RecieveUpdates += Updates_RecieveUpdates; }
public RenderingMiddleware(ITelegramClient telegramClient) { _telegramClient = telegramClient; }
public ContactsService(SimpleIoC ioc) { _ioc = ioc; _client = ioc.Resolve <ITelegramClient>(); }
public WebhookController(BotDbContext context, ITelegramClient client, IOptionsSnapshot <TelegramOptions> options) { _context = context; _client = client; _options = options; }