Download src/app/Console/Commands/SendWhatsapp.php from pnacorp/xsender: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Console/Commands/SendWhatsapp.php
- Command line
-
hf download hf://pnacorp/xsender/src/app/Console/Commands/SendWhatsapp.php
-
curl -L -o SendWhatsapp.php https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Console/Commands/SendWhatsapp.php
1.05 kB
| namespace App\Console\Commands; | |
| use App\Jobs\ProcessWhatsapp; | |
| use App\Models\CampaignContact; | |
| use App\Models\User; | |
| use App\Models\WhatsappCreditLog; | |
| use App\Models\WhatsappLog; | |
| use App\Service\Admin\Dispatch\WhatsAppService; | |
| use Carbon\Carbon; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Arr; | |
| use Illuminate\Support\Facades\Http; | |
| use Illuminate\Support\Facades\Log; | |
| class SendWhatsapp extends Command | |
| { | |
| /** | |
| * The name and signature of the console command. | |
| * | |
| * @var string | |
| */ | |
| protected $signature = 'whatsapp:send'; | |
| /** | |
| * The console command description. | |
| * | |
| * @var string | |
| */ | |
| protected $description = 'Send Whatsapp'; | |
| /** | |
| * Create a new command instance. | |
| * | |
| * @return void | |
| */ | |
| public function __construct() | |
| { | |
| parent::__construct(); | |
| } | |
| /** | |
| * Execute the console command. | |
| * @param WhatsAppService $whatsAppService | |
| * @return void | |
| */ | |
| public function handle(WhatsAppService $whatsAppService) | |
| { | |
| } | |
| } | |