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.