Random reaksiya bosadigan funksiya (bot uchun) β
π¬ @phpcodersuzb
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);
}
Please open Telegram to view this post
VIEW IN TELEGRAM
π΄ Videoni bazaga saqlaydi va bot orqali tasodifiy tarzda yuboriladi! (Via for random β‘οΈ )
π¬ @phpcodersuzb
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");
}
}
Please open Telegram to view this post
VIEW IN TELEGRAM
π1
π PHP CODERS UZB π
π΄ 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");β¦
if(!empty($update->message->video)){
$mp4 = true;
$doc_id = $update->message->video->file_id;
}Please open Telegram to view this post
VIEW IN TELEGRAM
π PHP CODERS UZB π
happy_christmas_16.png
Please open Telegram to view this post
VIEW IN TELEGRAM
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..)
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...)
Please open Telegram to view this post
VIEW IN TELEGRAM
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
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!
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯1
This media is not supported in your browser
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
β€1
Please open Telegram to view this post
VIEW IN TELEGRAM