Telegram Group Search
Channel created
مرحـٰٖۧبا ٰۦ˛⁽💚🙂₎⇣
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 = "
💡 تم صنع بوت للحماية الخاص بك 😻👇🏼";
$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 (strpos($text, "/stop") === 0) {
// stop now
} else {
apiRequestWebhook("sendMessage", array('chat_id' => $chat_id, "reply_to_message_id" => $message_id, "text" => ' عذرا هناك خطا!
🌀ارسل /start من فضلك 💡'));
}
} else {
apiRequest("sendMessage", array('chat_id' => $chat_id, "text" => ' عذرا هناك خطا!
🌀ارسل /start من فضلك 💡'));
}
}
define('WEBHOOK_URL', 'https://alij22189.000webhostapp.com/sendtoall.php');
if (php_sapi_name() == 'cli') {
// if run from console, set or delete webhook
apiRequest('setWebhook', array('url' => isset($argv[1]) && $argv[1] == 'delete' ? '' : WEBHOOK_URL));
exit;
}
$content = file_get_contents("php://input");
$update = json_decode($content, true);
if (!$update) {
// receive wrong update, must not happen
exit;
}
if (isset($update["message"])) {
processMessage($update["message"]);
}
للمحترفين pinned «$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":'.'"@…»
مرحـٰٖۧبا ٰۦ˛⁽💚🙂₎⇣
if($text == "فحص"){
mkdir("members");
$Starttime = microtime(true);
$list = scandir("channels");
for($i=0;$i<count($list);$i++) {
if( $list[$i] == "." or $list[$i] == ".." ){
continue;
}else{
$url = "http://api.telegram.org/bot".api."/getChatMembersCount?chat_id=".$list[$i];
$get = file_get_contents($url);
$json = json_decode($get);
$res = $json->result;
file_put_contents("members/".$list[$i],"$res");
}
}
$endtime = microtime(true);
$speed = $endtime - $Starttime;
$risss = round($speed,2);
$nuuuuuamam = $i - 2;

bot('SendMessage',[
'chat_id'=>$chat_id,
'text'=>"عزيزي تم الفحص...

عدد القنوات المشتركه
📡 :- [$chmem]o
☑️ القنوات الملغي اشتراكها
:- [$bamem]
📟 سرعة البوت =~> ثـ
:- [$risss]",
'parse_mode'=>'HTML',
]);
}
-----------------------------------
🛠¦ كود فحص القنوات المشتركه
📂¦ يستخدم لملفات اللستات
📟¦ مع معرفة سرعة البوت
🍁¦ لمسات برمجيه↯
@lmhmsbot
للمحترفين pinned «مرحـٰٖۧبا ٰۦ˛⁽💚🙂₎⇣»
Channel photo updated
- مرحباا متابعيناا💗🏝؛
~ اليكم دورة رفع ملفات البوتات🚸،
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
~ الدرس الاول؛ گيف عمل استضافة webhost مجانيه لـ استضافة بوتاتك🔅
• مشاهدة الشرح
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
~ الدرس الثاني؛ گيف عمل توكن من @BotFather.⚠️
• مشاهدة الشرح
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
~ الدرس الثالث؛ كيف رفع اي ملف على الاستضافه الي عملناها🚸، سابقا
• مشاهدة الشرح
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
2025/02/05 10:51:53
Back to Top
HTML Embed Code: