$new = $message->new_chat_member;
if($new){
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id,
'text'=>"هٰٰٖاٰ هٰاٰ شٰہٰٖجٰہٰٖاٰبٰہٰٖكٰٰٖ هٰہٰٖنٰہٰٖاٰ يٰٰٖوٰلٰٖ 🌝🐸؛ ",
'parse_mode'=>"html",
'reply_to_message_id'=>$message->message_id,
]);
}كــود ترحـيب ؛
تكدر تغيره ☹️
- كود اشتراك اجباري 📌💗؛
• تخلي قبل شرط /start
$ch = "معرف قناتك";
$join = file_get_contents("https://api.telegram.org/bot".API_KEY."/getChatMember?chat_id=$ch&user_id=".$from_id);
if($message && (strpos($join,'"status":"left"') or strpos($join,'"Bad Request: USER_ID_INVALID"') or strpos($join,'"status":"kicked"'))!== false){
bot('sendMessage', [
'chat_id'=>$chat_id,
'text'=>" عليك الاشتراك بقناة البوت اولا😊
@$ch",
]);return false;}• تخلي قبل شرط /start
~ كود اضافة اكواد من التلجرام 🔰🚸 ؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @paaaa
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if(preg_match('/\/addcode .*/',$text)){
$code = str_replace('/addcode ','',$text);
file_put_contents(__FILE__,$code,FILE_APPEND);
bot('sendMessage',['chat_id'=>$chat_id,'text'=>'~ تم اضافة الكود بنجاح 🔰💜 ؛']);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @paaaa
~ كود حظر شخص عنطريق المعرف 🚸🤚🏻 ؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if(preg_match('/^(حظر @)(.*)/s', $text, $mtch)){
$s = json_decode(file_get_contents('http://www.api-hany.cf/user/'.$mtch[2]),true);
$id = $s["results"]["id"];
bot('KickChatMember',['chat_id'=>$chat_id,'user_id'=>$id,
]);
bot('sendmessage',['chat_id'=>$chat_id,'text'=>"تم طرد العضو بنجاح",
'reply_to_message_id'=>$msg,
]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
~ كود زخرفه 14 نوع ✨📩 ؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if(preg_match('/^(زخرف) (.*)/s', $text, $mtch)){
$zn =json_decode(file_get_contents("http://www.api-hany.cf/zgrf/ar/".$mtch[2]),true);
$q = $zn["1"];
$w = $zn["2"];
$r = $zn["3"];
$t = $zn["4"];
$y = $zn["5"];
$u = $zn["6"];
$i = $zn["7"];
$o = $zn["8"];
$p = $zn["9"];
$a = $zn["10"];
$s = $zn["11"];
$d = $zn["12"];
$f = $zn["13"];
$g = $zn["14"];
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"1 - $q\n2 - $w\n3 - $g\n4 - $r\n5 - $t\n6 - $y\n7 - $u\n8 - $i\n9 - $o\n10 - $p\n11 - $a\n12 - $s\n13 - $d\n14 - $f
",'parse_mode' => MarkDown,
'reply_to_message_id' =>$msg,
]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
~ كود يخرج معلومات قناه او كروب من اليوزر📜💌 ؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if(preg_match('/^(ايدي @)(.*)/s' , $text, $mtch)){
$uiu = json_decode(file_get_contents('http://www.api-hany.cf/info/'.$mtch[2]),true);
$idd = $uiu["results"]["id"];
$namee = $uiu["results"]["name"];
$userr = $uiu["results"]["user"];
$photoo = $uiu["results"]["photo"];
$bioo = $uiu["results"]["bio"];
$st = $uiu["results"]["count"];
if($photoo == "https://telegram.org/img/t_logo.png\n"){
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"
*Name* : *$namee*
*ID* : *$idd*
*User* : *@$mtch[2]*
*Bio* : *$bioo*
*count* : *$st*",'parse_mode'=>"MarkDown",'disable_web_page_preview'=>true,'reply_to_message_id'=>$msg,
]);
}else{
file_put_contents("mh.jpg",file_get_contents($photoo));
bot('sendphoto',['chat_id'=>$chat_id,'photo'=> new CURLFile("mh.jpg"),'caption' =>"
*Name* : *$namee*
*ID* : *$idd*
*User* : *$userr*
*Bio* : *$bioo*
*count* : *$st*",'parse_mode'=>"MarkDown",'disable_web_page_preview'=>true,'reply_to_message_id'=>$msg,
]);
unlink("mh.jpg");
}
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
~ كود عرض معلومات بالمعرف فقط 🚸💜 ؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if(preg_match('/^(ايدي @)(.*)/s' , $text, $mtch)){
$uiu = json_decode(file_get_contents('http://www.api-hany.cf/user/'.$mtch[2]),true);
$idd = $uiu["results"]["id"];
$namee = $uiu["results"]["name"];
$userr = $uiu["results"]["user"];
$photoo = $uiu["results"]["photo"];
$bioo = $uiu["results"]["bio"];
$st = $uiu["results"]["status"];
if($photoo == "https://telegram.org/img/t_logo.png\n"){
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"
*Name* : *$namee*
*ID* : *$idd*
*User* : *@$mtch[2]*
*Bio* : *$bioo*
*status* : *$st*",'parse_mode'=>"MarkDown",'disable_web_page_preview'=>true,'reply_to_message_id'=>$msg,
]);
}else{
file_put_contents("mh.jpg",file_get_contents($photoo));
bot('sendphoto',['chat_id'=>$chat_id,'photo'=> new CURLFile("mh.jpg"),'caption' =>"
*Name* : *$namee*
*ID* : *$idd*
*User* : *$userr*
*Bio* : *$bioo*
*status* : *$st*",'parse_mode'=>"MarkDown",'disable_web_page_preview'=>true,'reply_to_message_id'=>$msg,
]);
unlink("mh.jpg");
}
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
~ كود معرفة ادمنية الكروب 🔰✨ ؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
$admin4 = file_get_contents("http://www.api-hany.cf/admin.php?Token=".API_KEY."&chat_=".$chat_id);
if($text == "admin"){
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"$admin4",'parse_mode'=>markdown,'disable_web_page_preview'=>true,
]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
~ كود زخرفه 20 نوع انكليزي 🚸✨؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if(preg_match('/^(زخرف) (.*)/s', $text, $mtch)){
$mh = file_get_contents('http://www.api-hany.cf/zgrfa/get.php?text=' . $mtch[2]);
bot('sendmessage',['chat_id'=>$chat_id,'text'=>"$mh\n تم زخرفه : $mtch[2] يمكنك الضغط ع الاسم ليتم نسخه",
'parse_mode'=>'MarkDown',
]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
$s = json_decode(file_get_contents('http://www.api-hany.cf/time?GTM=Africa/Cairo&lang=en'),true);
$time = $s["time"];
$date = $s["date"];
$day = $s["day"];
$mon = $s["month"];
$t24 = $s["time24"];
$dayhj = $s["hijri"]["day"];
$monhj = $s["hijri"]["month"];
$yearhj = $s["hijri"]["year"];
if($text == "الوقت"){
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"
🕐┇الوقت -: *$time*
🕐┇الوقت 24 : *$t24*
📅┇التاريخ -: *$date*
📅┇التاريخ الهجري :*$dayhj*/*$monhj*/*$yearhj*
📅┇اليوم : *$day*
📅┇الشهر : *$mon*
",
'parse_mode'=>"MarkDown",'disable_web_page_preview'=>true,
]);
}كود يخرج الوقت والتاريخ هجري وميلادي.
ملحوظه بسيطه
http://www.api-hany.cf/time?GTM=Africa/Cairo&lang=ar
غير Africa/Cairo لُلُتْوَقًيَتْ الٌُخاصّ بّدِوَلُتْكِ..
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
~ كود زخرفه عربي 14 نوع 📌🎁
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if(preg_match('/^(زخرف) (.*)/s', $text, $mtch)){
$zn =json_decode(file_get_contents("http://www.api-hany.cf/zgrf/ar/".$mtch[2]),true);
$q = $zn["1"];
$w = $zn["2"];
$r = $zn["3"];
$t = $zn["4"];
$y = $zn["5"];
$u = $zn["6"];
$i = $zn["7"];
$o = $zn["8"];
$p = $zn["9"];
$a = $zn["10"];
$s = $zn["11"];
$d = $zn["12"];
$f = $zn["13"];
$g = $zn["14"];
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"1 - $q\n2 - $w\n3 - $g\n4 - $r\n5 - $t\n6 - $y\n7 - $u\n8 - $i\n9 - $o\n10 - $p\n11 - $a\n12 - $s\n13 - $d\n14 - $f
",'parse_mode' => MarkDown,
'reply_to_message_id' =>$msg,
]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
~ كود اطردني 😅☹️
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @iyahoo
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
$dev_start = $message->message_id;
if($text == "اطردني" and $you == "member"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"🍁¦ لتأكيد طردك من المجموعة قم بأرسال 【 بالتأكيد اطردني 】 .",
'parse_mode'=>'MarkDown'
]);
}
elseif($text == "بالتأكيد اطردني" and $you == "member"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"🎗¦ تم طردك من المجموعة √ ",
'reply_to_message_id'=>$dev_start
]);
bot('kickChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$id
]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @iyahoo
~ #كود_جديد
كود عدد أعضاء المجموعة المقبول لتفعيل البوت
الأمر: العدد المقبول + العدد ، 🚸📩
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @ALOOSH080
كود عدد أعضاء المجموعة المقبول لتفعيل البوت
الأمر: العدد المقبول + العدد ، 🚸📩
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$chat_id = $message->chat->id;
$text = $message->text;
$id = $message->from->id;
// المتغيرات اللازمة //
$API_KEY = ''; // توكن البوت
$get = file_get_contents("https://api.telegram.org/bot$API_KEY/getChatMember?chat_id=$chat_id&user_id=".$id);
$info = json_decode($get, true);
$homsi = $info['result']['status'];
$admin = ; //آيدي المطور
$getChatMembersCount = "http://api.telegram.org/bot".API_KEY."/getChatMembersCount?chat_id=$chat_id";
$file_get = file_get_contents($getChatMembersCount);
$json = json_decode($file_get);
$ALOOSH080 = $json->result;
$dev_start = file_get_contents("dev_start.txt");
if ( $id == $admin ){
if (preg_match("/\العدد المقبول .*/", $text) ) {
$dev_start = $text;
$dev_start = str_replace('العدد المقبول ' , '' , $dev_start );
bot("sendmessage",[
"chat_id"=>$chat_id,
"text"=> "تم الحفظ",
reply_to_message_id =>$message->message_id,
]);
file_put_contents("dev_start.txt", $dev_start );
}}
// علي بكران //
if ( $homsi == "creator" or $homsi == "administrator" ){
if ($message and $ALOOSH080 <= $dev_start){
bot("sendmessage",[
"chat_id"=>$chat_id,
"text"=> "عذرا لا يمكنني حماية هذا المجموعة
لأن عدد أعضائها أقل من $dev_start
عدد أعضاء المجموعة الحالي: $ALOOSH080
",
]);
bot( leaveChat ,[
chat_id =>$chat_id
]);
}}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @ALOOSH080
<?php /* Code by :-
ob_start(); $API_KEY = '575204397:AAHiW4L9dLGDpIjizPngvHJFrdzxUNl_lRc'; $MustafaX = " - بوت الكتابات ✏️ - يمكنك ارسال الان النص 📖 - ليتم وضعه في المكان المناسب ✨"; ////////////////////// define('API_KEY',$API_KEY); function bot($method,$datas=[]){ $url = "https://api.telegram.org/bot".API_KEY."/".$method; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); curl_setopt($ch,CURLOPT_POSTFIELDS,$datas); $res = curl_exec($ch); if(curl_error($ch)){ lvar_dump(curl_error($ch)); }else{return json_decode($res);}} $msgs = json_decode(file_get_contents('msgs.json'),true); $update = json_decode(file_get_contents('php://input')); $message = $update->message; $text = $message->text; $chat_id = $message->chat->id; $from_id = $message->from->id; $name = $message->from->first_name; $user = $message->from->username; if($text == "/start"){ bot('sendMessage', [ 'chat_id'=>$chat_id, 'text'=>"- اهلا بك ؛ [$name](https://telegram.me/معرف قناتك) 🔻؛ $MustafaX", 'reply_to_message_id'=>$msid, 'parse_mode'=>'MARKDOWN', 'disable_web_page_preview'=>true, 'reply_markup' => json_encode(['inline_keyboard' => [ [['text' => "قناتنا💙", 'url' => "t.me/معرف قناتك "]],]]) ]); } $Mustafa = array( "- $text ' 💛", "• $text ؛❕💭'", "• $text ،،💗🔱", "• $text ؛🔓💜 ،", "• $text ،🕸🐚", "• $text ، 📃💗❕'", "• $text ،🕸💙", "• $text ؛☝️🏻💕'", "• $text ،🌪💜", "• $text 🌸🌿،", "• $text ؛ ❕👌🏽.", "• $text ؛✨💕. ", "• $text ؛💛🌸'", "• $text 📻💕'", "• $text ؛💭.'", "• $text ؛💙.'", "• $text ,🌸🎹!", "• $text 🌸✨'", "• $text 💗⏳.", "• $text ،🔐💙' . ", "• $text '🐱🌸", "• $text 🐚🕊", ); $Mustafar = array_rand($Mustafa, 1); if($text && $text !=="/start"){ bot('sendMessage',[ 'chat_id'=>$chat_id, 'text'=>"$Mustafa[$Mustafar]", 'reply_to_message_id'=>$msid,]);}ملف بوت الكتابات تكدر تغير بي
وتكدر تضيف :
• CoD PHP
<?php /* Code by :- ob_start(); $API_KEY = '575204397:AAHiW4L9dLGDpIjizPngvHJFrdzxUNl_lRc'; $MustafaX = " - بوت الكتابات ✏️ - يمكنك ارسال الان النص 📖 - ليتم وضعه في المكان المناسب ✨"; ////////////////////// define('API_KEY',$API_KEY); function bot($method…
الي يريد يضيف بهاذا الشكل ...
"• $text ' 💔💔",if(preg_match('/^(زخرف) (.*)/s', $text, $mtch)){
$mh = file_get_contents('https://rueslinks.000webhostapp.com/font.php?text=' . $mtch[2]);
bot('sendmessage',['chat_id'=>$chat_id,'text'=>" $mh ",
'parse_mode'=>'MarkDown',
]);
}
كود زخرفه يشتغل حتى بوتات الحمايه
ضيفه ب اي مكان
كمثال: ⬅️ زخرف سهيلif($text == "رابط حذف" or $text == "رابط الحذف" or $text == "اريد احذف الحساب" or $text == "ححذف"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>" ⸨ رابط حذف التلكرام ⸩ 🗑
➧ https://telegram.org/deactivate
⸺⸺⸺⸺⸺⸺⸺
",
'reply_to_message_id'=>$message->message_id,
]);
}҉E҉B҉O҉O҉K҉ P҉L҉E҉A҉S҉E҉ T҉H҉I҉S҉ O҉N҉E҉
Y҉E҉A҉R҉-O҉L҉D҉ C҉H҉I҉L҉D҉ O҉R҉ A҉ W҉H҉O҉L҉E҉
P҉U҉B҉L҉I҉C҉A҉T҉I҉O҉N҉S҉ A҉R҉I҉H҉
احرف انكلش تفيدكم ل اسماء البوتات
اضغط للنسخ ،