$_GET['id'], 'text' => "UPDATE $$$$$ 🏢 : ADVERTEN 🎯 : ".$_GET['tracker']." 🔥 : ".$_GET['term']." 💵 : ".$_GET['amount']." 🌏 : ".$_GET['country']." 📱 : ".$_GET['platform']." JANGAN KASIH KENDOR 💪🏻🔥" ); $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($pesan)); curl_setopt($ch, CURLOPT_URL, "https://api.telegram.org/bot6081855337:AAHIuiYwr9e8Y_qCOQUUXpJohIFsZpWU5ao/sendMessage"); curl_exec($ch); if (curl_errno($ch)){ $error_msg = curl_error($ch); } curl_close($ch); if (!isset($error_msg)){ $response = array( 'status' => 200, 'message' => 'Successfully', 'data' => array( 'notif' => 'Pesan Berhasil Terkirim' ) ); } else { $response = array( 'status' => 300, 'message' => 'Failed', 'data' => array( 'notif' => 'Pesan Tidak Terkirim' ) ); } header('Content-Type: application/json'); echo json_encode($response); } else { echo "Maaf mas tidak memiliki ijin untuk mengakses halaman ini"; } ?>