if($re and $re_id != $bot and $re_id != $sudo and $text=="ุชูููุฏ"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"๐ฑยฆ ุงูุนุถู ยป @$re_user
โจ๏ธ ยฆุงูุงูุฏู ยป ( $re_id )
๐ขยฆ ุชู ุชูููุฏู โ๏ธ
โ๏ธ",
'reply_to_message_id'=>$mid
]);
bot('restrictChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$re_id
]);
}
โข ููุฏ ุชูููุฏ ุดุบุงู ุน ุจูุชุงุช ุงูุญู ุงูู ๐ธ
โขุถููู ุงุฎุฑ ุงูู ูู ๐ฅค
#ุงุฒู || @php_i โ๏ธ
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"๐ฑยฆ ุงูุนุถู ยป @$re_user
โจ๏ธ ยฆุงูุงูุฏู ยป ( $re_id )
๐ขยฆ ุชู ุชูููุฏู โ๏ธ
โ๏ธ",
'reply_to_message_id'=>$mid
]);
bot('restrictChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$re_id
]);
}
โข ููุฏ ุชูููุฏ ุดุบุงู ุน ุจูุชุงุช ุงูุญู ุงูู ๐ธ
โขุถููู ุงุฎุฑ ุงูู ูู ๐ฅค
#ุงุฒู || @php_i โ๏ธ
if($re and $re_id != $bot and $re_id != $sudo and $text=="/unban" or $text == "ุงูุบุงุก ุงูุชูููุฏ"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"๐ฑยฆ ุงูุนุถู ยป @$re_user
โจ๏ธยฆ ุงูุงูุฏู ยป ( $re_id )
๐ขยฆ ุชู ุงูุบุงุก ุชูููุฏู โ๏ธ
โ๏ธ",
'reply_to_message_id'=>$mid
]);
bot('unrestrictChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$userid,
]);
}
โข ููุฏ ุงูุบุงุก ุงูุชูููุฏ ุดุบุงู ุน ุจูุชุงุช ุงูุญู ุงูู ๐ธ
โขุถููู ุงุฎุฑ ุงูู ูู ๐ฅค
#ุงุฒู || @php_i โ๏ธ
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"๐ฑยฆ ุงูุนุถู ยป @$re_user
โจ๏ธยฆ ุงูุงูุฏู ยป ( $re_id )
๐ขยฆ ุชู ุงูุบุงุก ุชูููุฏู โ๏ธ
โ๏ธ",
'reply_to_message_id'=>$mid
]);
bot('unrestrictChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$userid,
]);
}
โข ููุฏ ุงูุบุงุก ุงูุชูููุฏ ุดุบุงู ุน ุจูุชุงุช ุงูุญู ุงูู ๐ธ
โขุถููู ุงุฎุฑ ุงูู ูู ๐ฅค
#ุงุฒู || @php_i โ๏ธ
if($text == "ุตูุฑุชู"){
#ุงุฒู || @php_i โ๏ธ
$username = $message->from->username;
$photo = "http://telegram.me/$username";
bot('SendPhoto',[
'chat_id'=>$chat_id,
'photo'=>$photo,
'caption'=>"",
]);
}
โขููุฏ [ุตูุฑุชู] ูุฌูุจ ุตูุฑุชูุโ
โขุญู
ุงูู+ุฑุฏูุฏ ุดุบุงูุ๐ฏ
โขุถููู ุงุฎุฑ ุงูู
ูู ุงูุถู ุดูุ๐ธ
โขุทูุจ ุงุญุฏ ุงูุงุนุถุงุกุ๐ข
#ุงุฒู || @php_i โ๏ธ
-ูุจุนุฏ ุฐูู ุงุญุฑู ู
ุตุบุฑู๐ฅค
(โข๐ฆโข๐งโข๐จโข๐ฉโข๐ชโข๐ซโข๐ฌโข๐ญโข๐ฎโข๐ฏโข๐ฐโข๐ฑโข๐ฒโข๐ณโข๐ดโข๐งโข๐ถโข๐ทโข๐ธโข๐นโข๐พโข๐บโข๐ผโข๐ฝโข๐พโข๐ฟ)
#ุงุฒู
elseif ( strpos($textmassage , '/rmsg
-ุชูููุฏุฑ ุงุชูุถูููููู ูุจูุชุงุช ุงูุฑุฏูุฏโ
#ุงุฒู || @php_i โ๏ธ
') !== false or strpos($textmassage , 'ุญุฐู') !== false ) {
if ( $status == 'creator' or $status == 'administrator' or in_array($from_id,$Dev)){
$num = str_replace(['/rmsg ','ุญุฐู'],'',$textmassage);
if ($num <= 300 && $num >= 1){
for($i=$message_id; $i>=$message_id-$num; $i--){
bot('deletemessage',[
'chat_id' => $chat_id,
'message_id' =>$i,
]);
}
bot('sendmessage',[
'chat_id' => $chat_id,
'text' =>"$num
โ ๏ธโ-ุชูู
ู
ูุณูุญ ุงููุฑุณูุงุฆูู ุจูููุฌูุงุญ๐ฏ",
]);
}
else
{
bot('sendmessage',[
'chat_id' => $chat_id,
'text'=>"
โ ๏ธโ-ุนูููููู ุงุฑุณูุงู ุฑููู
ู
ููู 1ุงูู 300 ๐ฏ",
]);
}
}
}
- ูููุฏ ุญูุฐู ููุญูุฐู ู
ูู 1 ุงููู 300 ุฑุณูุงููู ูุณูุฑูุน ๐ฏโ ๏ธ
ุถูููููู ุงุฎูุฑ ุงููู
ูููู๐
-ุชูููุฏุฑ ุงุชูุถูููููู ูุจูุชุงุช ุงูุฑุฏูุฏโ
#ุงุฒู || @php_i โ๏ธ
if($text == "/start"){$from_id = $message->from->id;
$join = file_get_contents("https://api.telegram.org/bot".API_KEY."/getChatMember?chat_id=@php_i&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'=>" โข ุุงููุง ุจู ุนุฒูุฒู -โ๏ธโ
โ๐ป- ููู ููู ุงุณุชุฎุฏุงู ุงูุจูุชุ โ -
โโ- ุนููู ุงูุงุดุชุฑุงู ูู ุงูููุงุฉุ โผ๏ธ -
โ๐ฎ- ุซู ุงุถุบุท /start ุ๐-
โ๐ฏ-ููุงุช ุงูุจูุช ุ โ๏ธ
",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"๐โ-ุงุถูุบูุท ููููุง ููุงุดูุชูุฑุงู", 'url'=>"https://tttttt.me/php_i"]
],
[
['text'=>"๐ฎ๐ถโ-ุงููู ูุทููุฑ", 'url'=>"https://tttttt.me/gjl56"]
]
]
])
]); return false;}
bot('sendMessage',['chat_id'=>$chat_id, 'text'=>"",'reply_to_message_id'=>$message->$message_id,]);}
โขูููุฏ ุงูุงุดุชุฑุงู ุงูุงุฌุจุงุฑู ุงููุงูู๐ฎ๐ถ
โขุถููู ูุจู ุงู ุฑ /start ๐ข
โขููู ุทูุจู ุน ุงูุชูุงุตู โ ๏ธ๐
#ุงุฒู || @php_iโ๏ธ
$join = file_get_contents("https://api.telegram.org/bot".API_KEY."/getChatMember?chat_id=@php_i&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'=>" โข ุุงููุง ุจู ุนุฒูุฒู -โ๏ธโ
โ๐ป- ููู ููู ุงุณุชุฎุฏุงู ุงูุจูุชุ โ -
โโ- ุนููู ุงูุงุดุชุฑุงู ูู ุงูููุงุฉุ โผ๏ธ -
โ๐ฎ- ุซู ุงุถุบุท /start ุ๐-
โ๐ฏ-ููุงุช ุงูุจูุช ุ โ๏ธ
",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"๐โ-ุงุถูุบูุท ููููุง ููุงุดูุชูุฑุงู", 'url'=>"https://tttttt.me/php_i"]
],
[
['text'=>"๐ฎ๐ถโ-ุงููู ูุทููุฑ", 'url'=>"https://tttttt.me/gjl56"]
]
]
])
]); return false;}
bot('sendMessage',['chat_id'=>$chat_id, 'text'=>"",'reply_to_message_id'=>$message->$message_id,]);}
โขูููุฏ ุงูุงุดุชุฑุงู ุงูุงุฌุจุงุฑู ุงููุงูู๐ฎ๐ถ
โขุถููู ูุจู ุงู ุฑ /start ๐ข
โขููู ุทูุจู ุน ุงูุชูุงุตู โ ๏ธ๐
#ุงุฒู || @php_iโ๏ธ