group-telegram.com/lmhms/5
Last Update:
xt);
if($json_data["result"]["username"]!=null){
if(file_exists($id)==false && in_array($chat_id,$membersid)==false){
$aaddd = file_get_contents('tokens.txt');
$aaddd .= $text."
";
file_put_contents('tokens.txt',$aaddd);
mkdir($id, 0700);
file_put_contents($id.'/vip.txt',"free");
file_put_contents($id.'/ad_vip.txt',"PlusTM");
file_put_contents($id.'/step.txt',"none");
file_put_contents($id.'/users.txt',"");
file_put_contents($id.'/token.txt',"$text");
file_put_contents($id.'/start.txt',"");
$phptext = file_get_contents('phptext.txt');
$phptext = str_replace("توكن",$text,$phptext);
$phptext = str_replace("ايدي",$chat_id,$phptext);
file_put_contents($token.$id.'/sendtoall.php',$phptext);
file_get_contents('https://api.telegram.org/bot'.$text.'/setwebhook?url=');
file_get_contents('https://api.telegram.org/bot'.$text.'/setwebhook?url=https://alij22189.000webhostapp.com/'.$chat_id.'/sendtoall.php');
$unstalled = "
💡 تم صنع بوت للحماية الخاص بك 😻👇🏼";
$bot_url = "https://api.telegram.org/botتوكن/";
$url = $bot_url . "sendMessage?chat_id=" . $chat_id ;
$post_fields = array('chat_id' => $chat_id,
'text' => $unstalled,
'reply_markup' => '{"inline_keyboard":[[{"text":'.'"@'.$json_data["result"]["username"].'"'.',"url":'.'"'."http://www.group-telegram.com/".$json_data["result"]["username"].'"'.'}]]}' ,
'disable_web_page_preview'=>"true"
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"Content-Type:multipart/form-data"
));
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
$output = curl_exec($ch);
$textinstall = "
😃 اهلا بك في بوتك الشخصي ";
$install = "http://api.telegram.org/bot".$matches[0]."/sendMessage?chat_id=".$chat_id."&text=".$textinstall;
$json = file_get_contents($install);
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "لا يمكنك صنع اكثر من بوت واحد !💡"));
}
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "التوكن غير صحيح ❌
يرجى ارسال التوكن الصحيح ✅"));
}
}
else{
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "التوكن غير صحيح ❌
يرجى ارسال التوكن الصحيح ✅"));
}
}else if ($matches[0] != "/update"&&$matches[1] != ""&&$matches[2] != "") {
if (strpos($text, ":")) {
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => "جاري التحقق من التوكن ♻️"));
$url = "http://api.telegram.org/bot".$matches[0]."/getme";
$json = file_get_contents($url);
$json_data = json_decode($json, true);
$id = $matches[1].$matches[2];
$txt = file_get_contents('lastmembers.txt');
$membersid= explode("\n",$txt);
if($json_data["result"]["username"]!=null ){
if(file_exists($id)==false && in_array($id,$membersid)==false){
$aaddd = file_get_contents('tokens.txt');
$aaddd .= $text."
";
file_put_contents('tokens.txt',$aaddd);
mkdir($id, 0700);
file_put_contents($id.'/users.txt',"");
file_put_contents($id.'/vip.txt',"free");
file_put_contents($id.'/ad_vip.txt',"PlusTM");
file_put_contents($id.'/step.txt',"none");
file_put_contents($id.'/token.txt',"$text");
file_put_contents($id.'/start.txt',"");
$phptext = file_get_contents('phptext.txt');
$phptext = str_replace("توكن",$matches[0],$phptext);
$phptext = str_replace("ايدي",$matches[1],$phptext);
file_put_contents($token.$id.'/sendtoall.php',$phptext);
file_get_contents('https://api.telegram.org/bot'.$matches[0].'/setwebhook?url=');
file_get_contents('https://api.telegram.org/bot'.$matches[0].'/setwebhook?url=https://alij22189.000webhostapp.com/'.$id.'/sendtoall.php');
$unstalled = "
💡 تم صنع بوت للحماية الخاص بك 😻👇🏼";
BY للمحترفين
Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260
Share with your friend now:
group-telegram.com/lmhms/5