public GetWebhookCommand(Options opts, ITelegramClientService tgClientService) { _opts = opts; if (String.IsNullOrWhiteSpace(_opts.Token)) { throw new ArgumentNullException("No bot token provided!"); } _client = tgClientService.GetClient(_opts); }