Documentation Advanced Usage

Custom Webhook

Deep dive into extensive customization options.

Custom Webhook

Customize the webhook processor according to your needs.

Publish Processor

php artisan whatsapp:publish-webhook-processor

Customize

namespace App\Services;

use ScriptDevelop\WhatsappManager\Services\WebhookProcessors\BaseWebhookProcessor;

class WhatsappWebhookProcessor extends BaseWebhookProcessor
{
    public function handle($request)
    {
        // Your custom logic
        return parent::handle($request);
    }
}

πŸ’‘ More Information<br />
Check the webhook documentation for more details.

Share this page