πŸ€ PHP CODERS UZB πŸ€
77 subscribers
165 photos
38 videos
213 files
227 links
πŸ‡ΊπŸ‡Ώ Xarajatsiz harakat nolga teng! @phpadminuz
Download Telegram
Live stream finished (45 seconds)
Random reaksiya bosadigan funksiya (bot uchun) βœ…

return bot('setmessagereaction', [
'chat_id' => $cid,
'message_id' => $mid,
'reaction' => json_encode(array([
'type' => 'emoji',
'emoji' => $reaction,
])
)
]);
}

if(isset($message)){
$reactions = ['πŸ˜‡', '🀯', '🀝','πŸ”₯','❀️','πŸ†', 'πŸ€·β€β™‚οΈ', 'πŸ‘','πŸ‘','πŸ€“','😎','πŸ‘Œ',];
$randomReaction = $reactions[array_rand($reactions)];
reaction($cid, $mid, $randomReaction);
}
πŸ’¬ @phpcodersuzb
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ“΄ Videoni bazaga saqlaydi va bot orqali tasodifiy tarzda yuboriladi! (Via for random ⚑️)

 if($text == "πŸ”„ Tasodifiy video"){
$nec = file_get_contents("data/statvid.txt");
$phpcodersuzb = rand(1,$nec);
$video = file_get_contents("video/R_$phpcodersuzb.txt");
$ok = file_get_contents("step/$cid/ok.txt");
if(mb_stripos($ok,$phpcodersuzb)==false){
file_put_contents("step/$cid/ok.txt", "$ok\n$phpcodersuzb");
bot('sendvideo',[
'chat_id'=>$cid,
'video'=>"$video",
'caption'=>"<b>πŸ“₯ @$bot orqali yuklandi!</b>",
'parse_mode'=>"html",
'reply_markup'=>$vid,
]);
}else{
bot('sendMessage',[
'chat_id'=>$cid,
'text'=>"<b>πŸ–₯ Hozircha videolar mavjud emas keyinroq qayta urinib koΚ»ring!</b>",
'parse_mode'=>'html',
]);
}
}

if(($mp4) and $step=="yuk"){
$ha = bot('sendMessage',[
'chat_id'=>$cid,
'text'=>"<b>βœ…οΈ Video yuklandi!</b>",
'parse_mode'=>'html',
'reply_markup'=>$home,
]);
if($ha){
$get = file_get_contents("data/statvid.txt");
$b = $get + 1;
file_put_contents("video/R_$b.txt", "$doc_id");
file_put_contents("data/statvid.txt", "$b");
}
}
πŸ’¬ @phpcodersuzb
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘1
if($text=="/my"){
$getp = file_get_contents("https://api.telegram.org/bot$token/getUserProfilePhotos?user_id=$uid&limit=1");
$json = json_decode($getp);
$photo = $json->result->photos[0][0]->file_id;
bot('sendPhoto',[
'chat_id'=>$cid,
'photo'=>$photo,
'reply_to_message_id'=>$mid,
'parse_mode'=>'html',
]);
}

Foydalanuvchining profil rasmini oluvchi funksiya..)

πŸ’¬ @phpcodersuzb
Please open Telegram to view this post
VIEW IN TELEGRAM
 if($text == "/speed" and joinchat($cid)=="true"){
$start_time = round(microtime(true) * 1000);
$send= bot('sendMessage', [
'chat_id' => $cid,
'text' =>"πŸš€ Bot tezligi:",
])->result->message_id;
$end_time = round(microtime(true) * 1000);
$time_taken = $end_time - $start_time;
bot('editMessageText',[
'chat_id'=>$cid,
'message_id'=> $send,
"text" => "πŸš€ *Bot tezligi: " . $time_taken . "* m/s",
'parse_mode'=>'Markdown',
]);
}

Bot tezligini aniqlovchi funksiya...)

πŸ’¬ @phpcodersuzb
Please open Telegram to view this post
VIEW IN TELEGRAM
ObunachiBot.php
87.3 KB
πŸ‘€ Obunachi bot kodi (PHP)

πŸ’¬ @phpcodersuzb
Please open Telegram to view this post
VIEW IN TELEGRAM
Diskont online magazindan tasdiqlash kodini yuboruvchi kichikkina loyihani sizlarga ulashimiz πŸ˜„

http://sms-bomb.netlify.app

Tanishlarning asabini tamom qilish uchun yaxshigina narsa 🀣

❗️ Attention! Without us forcing you to do it We are not responsible for the work done in this regard!

πŸ’¬ @phpcodersuzb
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯1