Closed musavirchukkan closed 4 months ago
try{
$response = $whatsapp_cloud_api->sendTextMessage($number, 'Hey there! test successful!'); return $response;
}catch(\Netflie\WhatsAppCloudApi\Response\ResponseException $e){ return $e->response(); }
when returning the response it shows an error
sorry I got the response when I added decodeBody with response return $response->decodedBody();
try{
}catch(\Netflie\WhatsAppCloudApi\Response\ResponseException $e){ return $e->response(); }
when returning the response it shows an error