Telegram Web Link
$cuser = $update->callback_query->from->username;
$cid = $update->callback_query->from->id;
$data = $update->callback_query->data;
$inline = $update->inline_query->query;
$username = $update->inline_query->from->username;
if($inline){
$ex = explode(" ", $inline);
$user = trim($ex[0],"@");
$wh = str_replace($ex[0], $wh, $inline);
bot('answerInlineQuery',[
'inline_query_id'=>$update->inline_query->id,
'results' => json_encode([[
'type'=>'article',
'id'=>base64_encode(rand(5,555)),
'title'=>"هـذه الـهـمـسـة خـاصـة لـ $user 😉", 'input_message_content'=>['parse_mode'=>'HTML','message_text'=>"هـذه الـهـمـسـة خـاصـة لـ @$user 😉"],
'reply_markup'=>['inline_keyboard'=>[
[['text'=>'👁 عـرض الـهـمـسـة','callback_data'=>$user."or".$username."or".$wh]],
]]
]])
]);
}
$ex = explode("or", $data);
if($cuser == $ex[0] or $cuser == $ex[1] or $cid == $ex[0]){
bot('answerCallbackQuery',[
'callback_query_id'=>$update->callback_query->id,
'text'=>$ex[2],
'show_alert'=>true
]);
}
if($cuser != $ex[0] or $cuser != $ex[1] or $cid != $ex[0]){
bot('answerCallbackQuery',[
'callback_query_id'=>$update->callback_query->id,
'text'=>"الـهـمـسـة لـيـسـة لـك عـزيـزي 🖖",
'show_alert'=>true
]);
}

كود همسة
همسة سرية لشخص بالايدي
همسة سرية لشخص بالمعرف
الكاتب مجهول
#تعديلي_أنا
#King_Masr
$carlos = json_decode(file_get_contents("data/carlos.json"),1);
$Devs = $carlos['Devcarlos'];
$Devcarlos = $carlos['carlos'];
$carloss = $carlos['carloss'];
$Dev = array("1918338620", "1918338620" );
if($text=="نقل الملكية" and $re){
if(in_array($from_id,$Dev)){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"
☆︙عزيزي ← [$name](tg://user?id=$from_id)
☆︙تم تعين المطور الاساسي
",
'reply_to_message_id'=>$message->message_id,
'parse_mode'=>"MarkDown",
]);
$carlos['Devcarlos'] = $re_id;
file_put_contents("data/carlos.json",json_encode($carlos));
exit();
}
}
if($text=="نقل الملكية" or $text=="꙳. نقل الملكية"){
if(in_array($from_id,$Dev)){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"
☆︙عزيزي ← [$name](tg://user?id=$from_id)
☆︙الان قم بأرسال ايدي المطور
",
'reply_to_message_id'=>$message->message_id,
'parse_mode'=>"MarkDown",
]);
$carlos['carlos'] = "ok_carlos";
$carlos['carloss'] = "$from_id";
file_put_contents("data/carlos.json",json_encode($carlos));
}
}
if($text and preg_match('/([0-9])/i',$text) and $Devcarlos == "ok_carlos" and $carloss == $from_id){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"
☆︙بواسطة ← [$name](tg://user?id=$from_id)
☆︙تم تعين المطور جديد بنجاح
",
'reply_to_message_id'=>$message->message_id,
'parse_mode'=>"MarkDown",
]);
$carlos['Devcarlos'] = $text;
$carlos['carlos'] = "on";
file_put_contents("data/carlos.json",json_encode($carlos));
}
if($text=="حذف المالك الثاني" or $text=="꙳. حذف المالك الثاني"){
if(in_array($from_id,$Dev)){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"
☆︙عزيزي ← [$name](tg://user?id=$from_id)
☆︙تم حذف المطور
☆︙تم اعادة المطور الاساسي
",
'reply_to_message_id'=>$message->message_id,
'parse_mode'=>"MarkDown",
]);
$carlos['Devcarlos'] = null;
file_put_contents("data/carlos.json",json_encode($carlos));
}
}


- كود نقل الملكية
- كتابتي : @IISIlSII
- تحب تشكرني شارك قناتي @Lmotazaldrsy
- متغير الي يستلم الملكية $Devs
- تخلي
$Dev = array("ايديك", "$Devs" );
متغيرات الازمه
- تغير حقوق يعطل الكود لاتجي تكلي مو شغال
وضع_البايو.zip
5.5 KB
ملف بوت وضع الساعة والبايو في القنوات
- لاول مرة ينشر في لمسات برمجية فقط
- اعداد لـ علي محمد ويحيى السوري
- تجربة الملف @timeslbot
- اشكرني بدعم @TH1BS
$from = "1297130700";
$user = "GnralEs_bot";
$name = $message->from->first_name;
$us = $message->from->username;
$from_id = $message->from->id;
if($from_id == $from){
bot('deleteMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message_id,
]);}
if($us == $user){
bot('deleteMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message_id,
]);}


كود حذف رساله من شخص معين تقدر تسويه كود حذف رسائل البوتات مثل ماسويت انا سويت تجربه على بوتي فقط حط ايدي الشخص بمتغير $from ومعرفه بمتغير $user
تقدر تطوره حسب خبرتك لاكثر من شغله
- كتاباتي : - @motazaldrsy .
- تحب تشكرني انشر قناتي : - @Lmotazaldrsy .
if($text == "معلومات المجموعه" ){
$get = json_decode(file_get_contents("http://api.telegram.org/bot".API_KEY."/getChatMembersCount?chat_id=$chat_id"));
$men = $get->result;
$title = $message->chat->title;
$message_id = $update->message->message_id;
$link = bot("getchat",['chat_id'=>$chat_id])->result->invite_link;
if($link != null){
$link = $link;
$link2 = $link;
}else{
$link = bot("exportChatInviteLink",['chat_id'=>$chat_id])->result;
$link2 = $link;
}
bot('sendmessage',[
'chat_id' => $chat_id,
'text' => " - اهلا بك عزيزي اليك معلومات المجموعه",
'reply_to_message_id' =>$message->message_id,
'parse_mode'=>"markdown",'disable_web_page_preview'=>true,
"reply_markup"=> json_encode([
"inline_keyboard"=>[
[['text' => 'الاسم' , callback_data => '###'],['text' =>''.$title.'' , callback_data => '###']],
[['text' => 'عدد الاعضاء' , callback_data => '###'],['text' =>''.$mem.'' , callback_data => '###']],
[['text' => 'رسائل الكروب' , callback_data => '###'],['text' =>''.$message_id.'' , callback_data => '###']],
[['text' => 'رابط الكروب' , url => ''.$link.''],['text' =>'المطور' , url => 'www.tg-me.com/motazaldrsy']],
]])]);}


كود معلومات المجموعه انلاين .

كتاباتي : - @motazaldrsy .
- Team Libya ~ @Lmotazaldrsy .
Athkar.php
22.5 KB
ملف API اذكار 🍃

كل ما عليك رفع الملف على استضافة / سيرفر وتقريبا في كل مرة تسوي view للملف يعطي اذكار مختلفة 🌿

ملاحظة هذا الملف تحديث للملف السابق يعني يحتوي على اذكار أكثر 🌷

#انشر تُؤجر 🍃
السلام عليكم طبعا اكو موضوع مهم لازم احكيه الكم

- وقت تريد تسوي ملف وهو معروض للبيع وتريد تنشره انشر دون ماتجي نتفلسف علي واريد انشر وماادري شنو لا تفكر نفسك تكطع رزقي لا بالعكس انت تاكدلي انك مضغوط بالمختصر لاتجي تصرع راسي وتكلي رح انشر ملف الهمسه وغيره وغيره انا مافاضي لهاي التافهات اكعد ايام او ساعات اكتب بملف فقط حتى انشره واكسر سوك شخص يبيعه اي شخص يسوي هيك تاكدوا ان مضغوط وحسودي ومارح يعمر هواي واعتبروه مغفل لانه فقط ماعنده شي الا يفكر شلون يخسر الناس مايستفيد منهم واذا عندك ملف مدفوع خايف عليه احب اخبرك لا تخاف مافي احد فاضي لتفاهتك ليكتبه ويتعب كم ساعه بيه وينشره اعتقد الشخص اللي احكي عليه عرف نفسه وكنصحيه لباقي المطورين فقط واعتذر عن الاطاله .
CodeCheck .php
6.6 KB
ملف بوت التحقق من الاعضاء الجدد اذا كانو حقيقيين او لا
عن طريق ارسال كود في صورة عند دخول العضو ويجب على العضو ادخال الكود الصحيح لكي يستطيع التحدث

مثال له هذا البوت
@YFYYYY_bot

ملاحظة
عدل التوكن في السطر 4
وعدل مسار ملف الخطوط في السطر 60 [ يجب ان يدعم الارقام الانجليزية ]


تنشر اذكر المصدر
#عبدالرحمن باعقيل
▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
- Team Libya
@Lmotazaldrsy
gif.php
10.1 KB
gif.php

ملف بحث متحركه لابو ايهاب
- @Lmotazaldrsy .
Carlos.zip
68.8 KB
ملف مصنع json
مثال علي الملف : @X_l8bot
كتابتي : @IISIlSII
شرح رفع ملف تفتح ملف i.php
في سطر 2و3و4 ايديك
في سطر 5 توكن مصنع
في سطر 147 مسار ستضافتك دون https
المصدر : @Lmotazaldrsy
Forwarded from 🔘 Ƭᴇᴀᴍ Wᴀᴛʜq (/⁽ وآثـہٰٰـّہـٰہٰٰٖـۧ͡ــِٰہـ͒ہٰٰـق ⁞ ₎˛⁽♛₎!:)
ولع ولع 🔥🔥🔥🔥 عمليات نزوح كبيرة من مواقع التواصل الإجتماعي إلى تليقرام 🌝

#Telegram_the_best
source.zip
74 KB
- تحديث جديد لسورس "النيزك"

- اضافات جديدة وتعديلات 100% 🛡.

- تم تقسيم السورس في ملفات متفرعة 📂.

- حاولنا ترتيب الملفات بشكل منتظم وجميل 🧾.

- ترتيب كلايش السورس"ترتيب ابو ايهاب"🕯.

- تيم ليبيا @Lmotazaldrsy 📡.
Api check user insta

https://asdxxcv.ml/API/Userinsta/index.php?user=اليوزر

كود جاهز

if($text != "/start"){
$check
= file_get_contents("https://asdxxcv.ml/API/Userinsta/index.php?user=".$text);
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>$check,
'reply_to_message_id'=>$message->message_id,
]);}


الايبي لاحمد البارون فقط سويتله كود للاستخدام .

تحب تشكرني انشر قناتي : @Lmotazaldrsy .
كتاباتي : @motazaldrsy .
game.php
8.9 KB
- كود الالعاب json
- معه امر تفعيل - تعطيل الالعاب
- مجوهراتي
- كود الي شوفو تخزين مالتة
- لا باجر شخص يجي يكلي خامط
- #لحقوق_تشهد
- كتابتي : @iisilsii
- المصدر : @Lmotazaldrsy
Dev.php
28 KB
- اوامر المطور تخزين json .
- كل شي ابداعات واضافات روعه.
- كتابة العملاق :- #ابو_ايهاب.
- المصدر :- @Lmotazaldrsy
function get($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
$ch_data = curl_exec($ch);
curl_close($ch);
return $ch_data;
}
if(preg_match('/^(get)(.*?)/i',$text)){
$s= str_replace('get','',$text);
file_put_contents("$chat_id.html", get($s));
bot('sendDocument', [
'chat_id' => $chat_id,
"mime_type"=> "application/octet-stream",
"document"=>new CURLFile("$chat_id.html"),
"caption"=>"@php88",
'parse_mode' => "Markdown",
'disable_notification' => false,
]);
}



get+url

يقوم هذا الكود بجلب ملفات المواقع بواسطه هذا الفاكشن حسب طلب بعض الاخوه

@Lmotazaldrsy
@MROAN8
$all = str_replace("#all ", "",$text) ;
$x = 0;
$tags = 0;
$get = file_get_contents("$chat_id.txt");
$getx = explode("\n", $get);
if($message and ! in_array ($from_id, $getx)){
file_put_contents("$chat_id.txt","$from_id\n", FILE_APPEND);
}
if($text == "#all $all"){
for($i=0;$i<count($getx);$i++){
if ($x == 5 or $x == $tags or $i == 0 ){
$tags = $x + 5;
$t = "#all $all\n";
}
$datainfo = json_decode(file_get_contents("http://api.telegram.org/bot".API_KEY."/getChat?chat_id=$getx[$i]"));
$names =$datainfo->result->first_name;
$ids =$datainfo->result->id;
$x = $x + 1;
$t = $t.", [".$names."](tg://user?id=".$ids.")";
if ($x == 5 or $x == $tags or $i == 0){
bot('sendMessage', [
'chat_id' =>$chat_id,
'text'=>$t,
'parse_mode' =>"markdown",
'disable_web_page_preview'=>true,
]);
}
}
}


كود all + الكلمه اللي يستخدمونه بالسورسات حسب طلبكم لاحمد البارون

- @LMOTAZALDRSY .
$un = str_replace("un", "", $text);
if($text == "un$un" and $from_id == $admin){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"لقد تم الغاء الاشتراك ، "
]);
bot('sendMessage',[
'chat_id'=>$un,
'text'=>"لقد تم انتهاء الاشتراك الخاص بك"
]);
$un= str_replace("$un", "", file_get_contents("add.txt"));
file_put_contents("add.txt","$un");
}
if(preg_match("/^(add)(.*)/s",$text)and$chat_id ==$admin){
$text_get = str_replace(['add'],"",$text);
file_put_contents('add.txt',"$text_get"."\n",FILE_APPEND);
bot('sendmessage', [
'chat_id' => $chat_id,
'text'=>"تم تفعيل الاشتراك للعضو ",
]);
bot('sendMessage ',[
'chat_id'=>$text_get,
'text'=>"تم تفعيل الاشتراك بنجاح",
]);
}





كود تفعيل العضوية عن طريق الايدي هواي شباب يطلبونه مني هنا هذا يخزن ويحذف الايدي تمام تحتاج in_array تسويلهم بعد ما تستدعي ملفadd.txt
$get= file_get_contents ('add.txt');
وبس وتكدر تستخدم الكود للحظر والخ


add 8337373 تفعيل
un 38373936 الغاء تفعيل


مروان العراقي
- @Lmotazaldrsy .
webhok.php
14.1 KB
ملف بوت ويب هوك حسب الطلب ماادري الملف لمنو

- @Lmotazaldrsy .
$file_name = $message->reply_to_message->document->file_name;
$sudo = "0000";
$re_doc = $message->reply_to_message->document;
if($text == "جلب نسخه احتياطيه" and $from_id == $sudo){
bot('senddocument',[
'chat_id'=>$chat_id,
'document'=>new CURLFile("data/groups.json"),
'reply_to_message_id'=>$message_id,
]);}
if($re_doc and $text == "رفع النسخه الاحتياطيه" and $from_id == $sudo ){
if($file_name == "groups.json"){
$file = "https://api.telegram.org/file/bot".API_KEY."/".bot('getfile',['file_id'=>$message->reply_to_message->document->file_id])->result->file_path;
file_put_contents("data/groups.json",file_get_contents($file));
bot('sendmessage',[
'chat_id' => $chat_id ,
'text' => " - تم رفع النسخه الاحتياطيه ",
'reply_to_message_id'=>$message_id,
]);}}
if($re_doc and $text == "رفع النسخه الاحتياطيه" and $from_id == $sudo ){
if($file_name != "groups.json"){
bot('sendmessage',[
'chat_id' => $chat_id ,
'text' => " - عذرا يجب ان تكون النسخه باسم groups.json ",
'reply_to_message_id'=>$message_id,
]);}}




حسب طلبكم كود جلب نسخه احتياطيه للمجموعات ورفعها تاكد من المسارات فقط .

كتاباتي : - @lmotazaldrsy .


تحب تشكرني ادعم قناتي : - @Lmotazaldrsy
2024/10/02 04:22:59
Back to Top
HTML Embed Code: