Update: 2026-05-06 03:13:03
This commit is contained in:
@@ -16,7 +16,8 @@ class WhatsAppProxyService
|
||||
//"https://botmasa.intaleq.xyz/send", // mayar
|
||||
//"https://botmasa2.intaleq.xyz/send", // shad
|
||||
//"https://bootride.intaleq.xyz/send", // ramat bus
|
||||
"https://bot5.intaleq.xyz/send", // shahd
|
||||
"https://bot3.intaleq.xyz/send", // shahd
|
||||
"https://bot5.intaleq.xyz/send", // bot5 from postman
|
||||
//"https://whatsapp.tripz-egypt.com/send" // tripz
|
||||
];
|
||||
|
||||
@@ -67,9 +68,8 @@ class WhatsAppProxyService
|
||||
|
||||
$responseData = json_decode($response, true);
|
||||
|
||||
// التحقق من حالة الرد (يمكنك تخصيصه حسب هيكل رد البوت الخاص بك)
|
||||
if (isset($responseData['error']) && $responseData['error']) {
|
||||
error_log("[WhatsAppProxyService] API Error on $url: " . json_encode($responseData));
|
||||
if (!isset($responseData['success']) || $responseData['success'] !== true) {
|
||||
error_log("[WhatsAppProxyService] API Error on $url: " . $response);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user