<?php

namespace App\Support\Channels;

use App\Contracts\NotificationChannelInterface;
use App\Models\User;
use Illuminate\Support\Facades\Log;

/**
 * Interface Stub untuk Integrasi WhatsApp Gateway di Masa Depan (Fonnte / Wablas / Twilio)
 */
class WhatsAppNotificationChannelStub implements NotificationChannelInterface
{
    public function send(User $recipient, string $title, string $message, string $type = 'info'): bool
    {
        // Interface Stub — Mencatat log bahwa siap dihubungkan dengan API Provider WA Gateway
        Log::info("[WA Gateway Stub] Menyiapkan pesan WhatsApp ke user #{$recipient->id} ({$recipient->name}): {$title} - {$message}");
        return true;
    }
}
