if ($text == 'معرفي') {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"$from_user"
]);
}
مجرد ضيفه الملف الحمايه او الردود
--------------
@php88
كود معرفي
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"$from_user"
]);
}
مجرد ضيفه الملف الحمايه او الردود
--------------
@php88
كود معرفي
if($re and $re_id != $bot and $re_id != $sudo and $text == "حظر" or $text=="طرد"){
bot('sendMessage',[
'chat_id'=>$chat_id,
$id = $message->from->id,
'text'=>"🎐⇨للــأسف
🔕⇨تم حظــر العضو [$re_id](https://tttttt.me/$re_id)",
'parse_mode' => "MarkDown", 'disable_web_page_preview' => true,
'reply_to_message_id'=>$mid
]);
bot('kickChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$re_id
]);
}
if($re and $re_id != $bot and $re_id != $sudo and $text == "الغاء حظر"){
bot('sendMessage',[
'chat_id'=>$chat_id,
$id = $message->from->id,
'text'=>"🚸⇨تم الغاء حظر العظــو[$re_id](https://tttttt.me/$re_user)",
'parse_mode' => "MarkDown", 'disable_web_page_preview' => true,
'reply_to_message_id'=>$mid
]);
bot('unbanChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$re_id
]);
}
مجرد ضيفه الملف الحمايه او الردود
--------------
@php88
كود حظر من البوت
bot('sendMessage',[
'chat_id'=>$chat_id,
$id = $message->from->id,
'text'=>"🎐⇨للــأسف
🔕⇨تم حظــر العضو [$re_id](https://tttttt.me/$re_id)",
'parse_mode' => "MarkDown", 'disable_web_page_preview' => true,
'reply_to_message_id'=>$mid
]);
bot('kickChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$re_id
]);
}
if($re and $re_id != $bot and $re_id != $sudo and $text == "الغاء حظر"){
bot('sendMessage',[
'chat_id'=>$chat_id,
$id = $message->from->id,
'text'=>"🚸⇨تم الغاء حظر العظــو[$re_id](https://tttttt.me/$re_user)",
'parse_mode' => "MarkDown", 'disable_web_page_preview' => true,
'reply_to_message_id'=>$mid
]);
bot('unbanChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$re_id
]);
}
مجرد ضيفه الملف الحمايه او الردود
--------------
@php88
كود حظر من البوت
if ($text != "/start") {
$get = file_get_contents("https://rueslinks.000webhostapp.com/font.php?text=$text");
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"$get",
'parse_mode'=>'markdown'
]);
}
مجرد ضيفه الملف البوتات اي بوت
--------------
@php88
كود زخرفة
$get = file_get_contents("https://rueslinks.000webhostapp.com/font.php?text=$text");
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"$get",
'parse_mode'=>'markdown'
]);
}
مجرد ضيفه الملف البوتات اي بوت
--------------
@php88
كود زخرفة
$k = $text;
$k = str_replace('ᘞ̇' , 'ض' , $text);
$k = str_replace('ࡎ' , ' ص' , $k);
$k = str_replace(' ɹɹ̈̇' , ' ث' , $k);
$k = str_replace(' ᓆ' , ' ق', $k);
$k = str_replace(' ᓅ' , ' ف' , $k);
$k = str_replace('ﻏ̲' , 'غ', $k);
$k = str_replace('ξ' , 'ع' , $k);
$k = str_replace('උ' , 'خ' , $k);
$k = str_replace('ᓗ̥' , 'ج' , $k);
$k = str_replace('ɹɹ̈̇ɹ' , 'ش', $k);
$k = str_replace('ɹɹɹ' , 'س' , $k);
$k = str_replace('ʟ̤ɾʅ' , 'ي' , $k);
$k = str_replace(' ɹ̣' , 'ب' , $k);
$k = str_replace('ᒧ' , 'ل' , $k);
$k = str_replace('І͛' , 'ا' , $k);
$k = str_replace('ɹ̈' , 'ت' , $K);
$k = str_replace('Ủ' , 'ن' , $k);
$k = str_replace('םــ' , 'م' , $k);
$k = str_replace('ᓚ۶ᒧ' , 'ك' , $k);
$k = str_replace('מ' , 'ط' , $k);
$k = str_replace('ↄ̇' , 'ذ' , $k);
$k = str_replace('ᘘ' , 'ظ' , $k);
$k = str_replace('۶' , 'ء' , $k);
$k = str_replace('૭' , 'و' , $k);
$k = str_replace('ȷ' , 'ر' , $k);
$k = str_replace('ى' , 'ى' , $k);
$k = str_replace('j' , 'ز' , $k);
$k = str_replace('ظ' , 'ظ' , $k);
$k = str_replace('୬' , 'و' , $k);
$k = str_replace('බ' , 'ه' , $k)
--------------
@php88
كود زخرفه مميز
$k = str_replace('ᘞ̇' , 'ض' , $text);
$k = str_replace('ࡎ' , ' ص' , $k);
$k = str_replace(' ɹɹ̈̇' , ' ث' , $k);
$k = str_replace(' ᓆ' , ' ق', $k);
$k = str_replace(' ᓅ' , ' ف' , $k);
$k = str_replace('ﻏ̲' , 'غ', $k);
$k = str_replace('ξ' , 'ع' , $k);
$k = str_replace('උ' , 'خ' , $k);
$k = str_replace('ᓗ̥' , 'ج' , $k);
$k = str_replace('ɹɹ̈̇ɹ' , 'ش', $k);
$k = str_replace('ɹɹɹ' , 'س' , $k);
$k = str_replace('ʟ̤ɾʅ' , 'ي' , $k);
$k = str_replace(' ɹ̣' , 'ب' , $k);
$k = str_replace('ᒧ' , 'ل' , $k);
$k = str_replace('І͛' , 'ا' , $k);
$k = str_replace('ɹ̈' , 'ت' , $K);
$k = str_replace('Ủ' , 'ن' , $k);
$k = str_replace('םــ' , 'م' , $k);
$k = str_replace('ᓚ۶ᒧ' , 'ك' , $k);
$k = str_replace('מ' , 'ط' , $k);
$k = str_replace('ↄ̇' , 'ذ' , $k);
$k = str_replace('ᘘ' , 'ظ' , $k);
$k = str_replace('۶' , 'ء' , $k);
$k = str_replace('૭' , 'و' , $k);
$k = str_replace('ȷ' , 'ر' , $k);
$k = str_replace('ى' , 'ى' , $k);
$k = str_replace('j' , 'ز' , $k);
$k = str_replace('ظ' , 'ظ' , $k);
$k = str_replace('୬' , 'و' , $k);
$k = str_replace('බ' , 'ه' , $k)
--------------
@php88
كود زخرفه مميز
$k = $text;
$k = str_replace('ض', 'Ь̇', $k);
$k = str_replace('ص', 'ᘗ', $k);
$k = str_replace('ث', 'ث͜ــ๋͜ـ͜ــ๋͜ـ', $k);
$k = str_replace('ق', 'ᓆ', $k);
$k = str_replace('ف', 'ᓅ', $k);
$k = str_replace('غ', 'ϛ۬', $k);
$k = str_replace('ع', 'ϛ', $k);
$k = str_replace('خ', 'ᓘ', $k);
$k = str_replace('ح', 'ᓗ', $k);
$k = str_replace('ج', 'ᓗฺ', $k);
$k = str_replace('ش', 'ɹɹ̈̇ɹ', $k);
$k = str_replace('س', 'ɹɹɹ', $k);
$k = str_replace('ي', 'ɹ̤', $k);
$k = str_replace('ب', 'ɹ̣', $k);
$k = str_replace('ل', '⅃', $k);
$k = str_replace('ا', 'آ', $k);
$k = str_replace('ت', 'ɹ̈', $k);
$k = str_replace('ن', 'ᓢ', $k);
$k = str_replace('م', 'ᓄ', $k);
$k = str_replace('ك', '丂', $k);
$k = str_replace('ط', 'ط͜ــ๋͜ـ', $k);
$k = str_replace('ظ', 'Ь', $k);
$k = str_replace('ذ', 'כ֗', $k);
$k = str_replace('د', 'כ', $k);
$k = str_replace('ر', 'ȷ', $k);
$k = str_replace('ى', 'ى', $k);
$k = str_replace('ز', 'j', $k);
$k = str_replace('ظ', 'ᘞ̇', $k);
$k = str_replace('و', 'g', $k);
$k = str_replace("ه", "බ", $k);
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>$k." ".$smil
--------------
@php88
كود زخرفه مميز2
$k = str_replace('ض', 'Ь̇', $k);
$k = str_replace('ص', 'ᘗ', $k);
$k = str_replace('ث', 'ث͜ــ๋͜ـ͜ــ๋͜ـ', $k);
$k = str_replace('ق', 'ᓆ', $k);
$k = str_replace('ف', 'ᓅ', $k);
$k = str_replace('غ', 'ϛ۬', $k);
$k = str_replace('ع', 'ϛ', $k);
$k = str_replace('خ', 'ᓘ', $k);
$k = str_replace('ح', 'ᓗ', $k);
$k = str_replace('ج', 'ᓗฺ', $k);
$k = str_replace('ش', 'ɹɹ̈̇ɹ', $k);
$k = str_replace('س', 'ɹɹɹ', $k);
$k = str_replace('ي', 'ɹ̤', $k);
$k = str_replace('ب', 'ɹ̣', $k);
$k = str_replace('ل', '⅃', $k);
$k = str_replace('ا', 'آ', $k);
$k = str_replace('ت', 'ɹ̈', $k);
$k = str_replace('ن', 'ᓢ', $k);
$k = str_replace('م', 'ᓄ', $k);
$k = str_replace('ك', '丂', $k);
$k = str_replace('ط', 'ط͜ــ๋͜ـ', $k);
$k = str_replace('ظ', 'Ь', $k);
$k = str_replace('ذ', 'כ֗', $k);
$k = str_replace('د', 'כ', $k);
$k = str_replace('ر', 'ȷ', $k);
$k = str_replace('ى', 'ى', $k);
$k = str_replace('ز', 'j', $k);
$k = str_replace('ظ', 'ᘞ̇', $k);
$k = str_replace('و', 'g', $k);
$k = str_replace("ه", "බ", $k);
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>$k." ".$smil
--------------
@php88
كود زخرفه مميز2
$sudo = ايديك;
if ($text == 'بوت' and $chat_id == $sudo) {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"هلا مطوري"
]);
}
مجرد ضيفه الملف البوتات اي بوت
--------------
@php88
كود رد علمطور
if ($text == 'بوت' and $chat_id == $sudo) {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"هلا مطوري"
]);
}
مجرد ضيفه الملف البوتات اي بوت
--------------
@php88
كود رد علمطور
$sudo = ايديك;
$t =$message->chat->title;
$user = $message->from->username;
if($text == "/start") {
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"
",
'reply_to_message_id'=>$message->message_id,
]);
bot('sendMessage',[
'chat_id'=>$sudo,
'text'=>"
ℓ⚠️- مطوري لديك رساله جديده ℓ⚠️-
ℓ🔱- بيانات العضو هي ⬇️;
ℓ🔘- أسم العضو :- $name
ℓ🔘- معرف العضو :- @$user
ֆ • • • • • • • • • • • • • ֆ",
]);
}
بس ضيفه الملف البوت التريده
--------------
@php88
كود من اشترك بلقناه
$t =$message->chat->title;
$user = $message->from->username;
if($text == "/start") {
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"
",
'reply_to_message_id'=>$message->message_id,
]);
bot('sendMessage',[
'chat_id'=>$sudo,
'text'=>"
ℓ⚠️- مطوري لديك رساله جديده ℓ⚠️-
ℓ🔱- بيانات العضو هي ⬇️;
ℓ🔘- أسم العضو :- $name
ℓ🔘- معرف العضو :- @$user
ֆ • • • • • • • • • • • • • ֆ",
]);
}
بس ضيفه الملف البوت التريده
--------------
@php88
كود من اشترك بلقناه
if($text == "الوقت"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>'الوقت
'.date("h:", $time).''.date("i:", $time).''.date("s", $time).''.date("a", $time).'
التاريخ
'.date("20y/", $time).''.date("n/", $time).''.date("j", $time).'',
'reply_to_message_id'=>$message->message_id,]);}
بس ضيفه الملف البوت التريده
--------------
@php88
كود الوقت2
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>'الوقت
'.date("h:", $time).''.date("i:", $time).''.date("s", $time).''.date("a", $time).'
التاريخ
'.date("20y/", $time).''.date("n/", $time).''.date("j", $time).'',
'reply_to_message_id'=>$message->message_id,]);}
بس ضيفه الملف البوت التريده
--------------
@php88
كود الوقت2
if($text =="$text"){
bot('sendMessage',[
'chat_id'=>ايديك,
'text'=>"$text",
]);
}
هاذه لكود يكشفلك شكو واحد راسل لبوت ويطيك رسالته
--------------
@php88
كود الكشف عن رسائل
bot('sendMessage',[
'chat_id'=>ايديك,
'text'=>"$text",
]);
}
هاذه لكود يكشفلك شكو واحد راسل لبوت ويطيك رسالته
--------------
@php88
كود الكشف عن رسائل
if($text == "/link" or $text == "الرابط"){
$export = json_decode(file_get_contents("api.telegram.org/bot".$API_KEY."/exportChatInviteLink?chat_id=$chat_id"));
$l = $export->result;
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"~> $l"
]);
}
--------------
@php88
كود الرابط
$export = json_decode(file_get_contents("api.telegram.org/bot".$API_KEY."/exportChatInviteLink?chat_id=$chat_id"));
$l = $export->result;
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"~> $l"
]);
}
--------------
@php88
كود الرابط
$bans = json_decode(file_get_contents('bans.json'),true);
$sudo = ايديك;
if (preg_match('/(حظر عام)(.*)/', $text) and $from_id == $sudo) {
$text = str_replace('حظر عام', '', $text);
$bans[] = trim($text,'@');
file_put_contents('bans.json', $text);
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>'~> '.$text."\n - تم حظره عام ،",
'reply_to_message_id'=>$message->message_id
]);
}
if ($message and in_array($message->from->username, $bans) or in_array($message->from->id, $bans)) {
bot('kickchatmember',[
'chat_id'=>$chat_id,
'user_id'=>$message->from->id
]);
}
--------------
@php88
كود الحظر العام
$sudo = ايديك;
if (preg_match('/(حظر عام)(.*)/', $text) and $from_id == $sudo) {
$text = str_replace('حظر عام', '', $text);
$bans[] = trim($text,'@');
file_put_contents('bans.json', $text);
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>'~> '.$text."\n - تم حظره عام ،",
'reply_to_message_id'=>$message->message_id
]);
}
if ($message and in_array($message->from->username, $bans) or in_array($message->from->id, $bans)) {
bot('kickchatmember',[
'chat_id'=>$chat_id,
'user_id'=>$message->from->id
]);
}
--------------
@php88
كود الحظر العام
$info = json_decode(file_get_contents('info.json'));
if ($message and !in_array($message->from->id, $info)) {
$info[$message->from->id] = ['name'=>$message->from->first_name,'username'=>$message->from->username];
file_put_contents('info.json', json_encode($info));
}
if ($message->from->first_name != $info[$message->from->id]['name']) {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"شو مغير اسمك ",
'reply_to_message_id'=>$message->message_id
]);
$info[$message->from->id]['name'] = $message->from->first_name;
file_put_contents('info.json', json_encode($info));
}
if ($message->from->username != $info[$message->from->id]['username']) {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"شو مغير عرفك",
'reply_to_message_id'=>$message->message_id
]);
$info[$message->from->id]['username'] = $message->from->username;
file_put_contents('info.json', json_encode($info));
}
--------------
@php88
كود شو مغير اسمك
if ($message and !in_array($message->from->id, $info)) {
$info[$message->from->id] = ['name'=>$message->from->first_name,'username'=>$message->from->username];
file_put_contents('info.json', json_encode($info));
}
if ($message->from->first_name != $info[$message->from->id]['name']) {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"شو مغير اسمك ",
'reply_to_message_id'=>$message->message_id
]);
$info[$message->from->id]['name'] = $message->from->first_name;
file_put_contents('info.json', json_encode($info));
}
if ($message->from->username != $info[$message->from->id]['username']) {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"شو مغير عرفك",
'reply_to_message_id'=>$message->message_id
]);
$info[$message->from->id]['username'] = $message->from->username;
file_put_contents('info.json', json_encode($info));
}
--------------
@php88
كود شو مغير اسمك
if($new_member){
bot('sendPhoto', [
'chat_id' => $chat_id,
'photo'=>"رابط لصوره",
'caption'=>"هـلآ والله بـلـحلو 😹❤️✨",
'reply_to_message_id'=>$message->message_id,
]);
}
--------------
@php88
كود ترحيب
bot('sendPhoto', [
'chat_id' => $chat_id,
'photo'=>"رابط لصوره",
'caption'=>"هـلآ والله بـلـحلو 😹❤️✨",
'reply_to_message_id'=>$message->message_id,
]);
}
--------------
@php88
كود ترحيب
¶ - - - - - - - - - - - - - - ¶
$new_member = $update->message->new_chat_member;
هاي ضيفها بالحصانه ☝️🏿
¶ - - - - - - - - - - - - - - ¶
• كود ترحيب و توديع ♻️ .
--------------
if($new_member){
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id,
'text'=>"• نورت المجموعه حبيبي 😻🤞🏿",
reply_to_message_id =>$message->message_id,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
[ 'text' =>"• تابع جديدنا 🌸 من فضلك ✔️", 'url' =>"t.me/معرف قناتك"]
]
]
])
]);
}
if($left){
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id,
'text'=>"الله وياك سد الباب وراك 😹🙌🏿",
reply_to_message_id =>$message->message_id,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>" • تابع جديدنا من فضلك ✔️",'url'=>"https://tttttt.me/php88"]
]
]
])
]);
}
--------------
@php88
$new_member = $update->message->new_chat_member;
هاي ضيفها بالحصانه ☝️🏿
¶ - - - - - - - - - - - - - - ¶
• كود ترحيب و توديع ♻️ .
--------------
if($new_member){
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id,
'text'=>"• نورت المجموعه حبيبي 😻🤞🏿",
reply_to_message_id =>$message->message_id,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
[ 'text' =>"• تابع جديدنا 🌸 من فضلك ✔️", 'url' =>"t.me/معرف قناتك"]
]
]
])
]);
}
if($left){
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id,
'text'=>"الله وياك سد الباب وراك 😹🙌🏿",
reply_to_message_id =>$message->message_id,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>" • تابع جديدنا من فضلك ✔️",'url'=>"https://tttttt.me/php88"]
]
]
])
]);
}
--------------
@php88
Telegram
ⱮℜᎧÂN MOᕼᗩᗰᗰEᗪ ☬
قناة برمجية تساعد الناس هي قناة تهدف إلى توفير المعلومات والموارد اللازمة لتعلم البرمجة وتطوير المهارات البرمجية
@filemtime
@MROAN8
@M6tbot
@filemtime
@MROAN8
@M6tbot
if($new_member){
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id,
'text'=>"هنا اكتب الترحيب",
'parse_mode'=>"html",
'reply_to_message_id'=>$message->message_id,
]);
}
--------------
@php88
كود ترحيب2
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id,
'text'=>"هنا اكتب الترحيب",
'parse_mode'=>"html",
'reply_to_message_id'=>$message->message_id,
]);
}
--------------
@php88
كود ترحيب2
$export = json_decode(file_get_contents("https://api.telegram.org/bot$API_KEY/exportChatInviteLink?chat_id=$chat_id"));
$l = $export->result;
$time = time() + (979 * 11 + 1 + 30);
$SA = "http://api.telegram.org/bot".API_KEY."/getChatMembersCount?chat_id=$chat_id";
$SAE = file_get_contents($SA);
$SAEE = json_decode($SAE);
$SAEED = $SAEE->result;
$sudo = ايديك;
$t = $message->chat->title;
if($text == $text and $chat_id == $user){
$result2 = $json2->result;
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>" تمتم",
'reply_to_message_id'=>$message->message_id,
]);
bot('sendMessage',[
'chat_id'=>$sudo,
'text'=>"👮┇قام شخص ما بتفعيل البوت
👥️┇ $t
️🛠️┇ رابط المجموعة » $l
🎫┇ايدي المجموعة » $chat_id
📈┇عدد أعضاء المجموعة ~⪼ 【 $SAEED 】
👨🏽💻┇بواسطة » $name
🎟┇معرفه » @$user
⏰┇الساعة :: ".date("g", $time).":".date("i", $time)."
📆┇التاريخ :: ".date("Y")."/".date("n")."/".date("d")."
🚶",
"message_id"=>$message_id,
]);}
ضيفه لبوت الحنايه او الردود وراح ينبهك
--------------
@php88
كود ينبهك اذا مطور فعل لبوت
$l = $export->result;
$time = time() + (979 * 11 + 1 + 30);
$SA = "http://api.telegram.org/bot".API_KEY."/getChatMembersCount?chat_id=$chat_id";
$SAE = file_get_contents($SA);
$SAEE = json_decode($SAE);
$SAEED = $SAEE->result;
$sudo = ايديك;
$t = $message->chat->title;
if($text == $text and $chat_id == $user){
$result2 = $json2->result;
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>" تمتم",
'reply_to_message_id'=>$message->message_id,
]);
bot('sendMessage',[
'chat_id'=>$sudo,
'text'=>"👮┇قام شخص ما بتفعيل البوت
👥️┇ $t
️🛠️┇ رابط المجموعة » $l
🎫┇ايدي المجموعة » $chat_id
📈┇عدد أعضاء المجموعة ~⪼ 【 $SAEED 】
👨🏽💻┇بواسطة » $name
🎟┇معرفه » @$user
⏰┇الساعة :: ".date("g", $time).":".date("i", $time)."
📆┇التاريخ :: ".date("Y")."/".date("n")."/".date("d")."
🚶",
"message_id"=>$message_id,
]);}
ضيفه لبوت الحنايه او الردود وراح ينبهك
--------------
@php88
كود ينبهك اذا مطور فعل لبوت
$name = str_replace("ضع اسم ", "$name", $text);
if($text=="ضع اسم $name"){
bot('setChatTitle',[
'chat_id'=>$chat_id,
'title'=>"$name"
]);
}
--------------
@php88
كود وضع صوره
if($text=="ضع اسم $name"){
bot('setChatTitle',[
'chat_id'=>$chat_id,
'title'=>"$name"
]);
}
--------------
@php88
كود وضع صوره
if(preg_match('/^(.*)([Hh]ttp|[Hh]ttps|t.me)(.*)|([Hh]ttp|[Hh]ttps|t.me)(.*)|(.*)([Hh]ttp|[Hh]ttps|t.me)|(.*)[Tt]elegram.me(.*)|[Tt]elegram.me(.*)|(.*)[Tt]elegram.me|(.*)[Tt].me(.*)|[Tt].me(.*)|(.*)[Tt].me/',$text) ){
bot('deleteMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id
]);
}
--------------
@php88
كود حذف الروابط
bot('deleteMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message->message_id
]);
}
--------------
@php88
كود حذف الروابط
$as = $message->reply_to_message;
$asf = $as->message_id;
if($as and $text =="كله اسف"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"اسف💚🌺",
'reply_to_message_id'=>$asf,
]);
}
كود مثلا تكوله كله اسف البوت راح يرد ع شخص ويكله اسف
--------------
@php88
كود كله اسف
$asf = $as->message_id;
if($as and $text =="كله اسف"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"اسف💚🌺",
'reply_to_message_id'=>$asf,
]);
}
كود مثلا تكوله كله اسف البوت راح يرد ع شخص ويكله اسف
--------------
@php88
كود كله اسف
$msgid = $message->message_id;
$reply = $message->reply_to_message;
$reply_id = $reply->message_id;
--------------
if($reply and $text == "/del"){
bot('deleteMessage',[
'chat_id'=>$chat_id,
'message_id'=>$reply_id
]);
bot('deleteMessage',[
'chat_id'=>$chat_id,
'message_id'=>$msgid
]);
}
كود حذف رساله بلرد مجرد ترد ع الرساله وتكتب حذف لبوت حيذفها
--------------
@php88
كود حذف رساله بلرد
$reply = $message->reply_to_message;
$reply_id = $reply->message_id;
--------------
if($reply and $text == "/del"){
bot('deleteMessage',[
'chat_id'=>$chat_id,
'message_id'=>$reply_id
]);
bot('deleteMessage',[
'chat_id'=>$chat_id,
'message_id'=>$msgid
]);
}
كود حذف رساله بلرد مجرد ترد ع الرساله وتكتب حذف لبوت حيذفها
--------------
@php88
كود حذف رساله بلرد