kino-bot.zip
1 MB
๐2
Please open Telegram to view this post
VIEW IN TELEGRAM
<?php$html_content = "<p>This is a <strong>sample</strong> HTML content with <a href='#'>links</a>.</p>";
$clean_content = strip_tags($html_content);
echo $clean_content; // Natija: This is a sample HTML content with links.
?>
Please open Telegram to view this post
VIEW IN TELEGRAM
PHPYuklabBot.php
50.8 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
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',
]);
}Please open Telegram to view this post
VIEW IN TELEGRAM
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
๐2
$update = json_decode(file_get_contents('php://input'));
$type = $message->chat->type;
$text = $message->text;
$cid = $message->chat->id;
$ispremium = $message->from->is_premium;
if($text=="/start" and $type == "private"){
bot('sendmessage',[
'chat_id'=>$cid,
'reply_to_message_id'=>$mid,
'text'=>"๐ Salom bizni botimizga xush kelibsiz!",
'parse_mode' => 'html',
]);
if($ispremium){
bot('sendmessage',[
'chat_id'=>$cid,
'text'=>"<b>โญ๏ธ Premiumingiz bor ekan!\n๐งฐ Kanalimizga ovoz bering!\n\nhttps://t.me/boost/UsefulCoders</b>",
'parse_mode' => 'html',
]);
}else{}
}Please open Telegram to view this post
VIEW IN TELEGRAM
<?php
header('Content-Type: application/json');
$rand = rand(0000,9999);
$url = "https://dummyimage.com/279x100/ffffff/000000.jpg&text=$rand";
//@by_alik
$result = array('captcha'=>[
'kod'=>$rand,
'matn'=>"<b>Inson ekanligingizni tasdiqlang!</b>\n\nRasmdagi kodni kiriting:",
'photo_url'=>$url,
]);
//@TgWebCoder
echo json_encode($result, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
?>
Please open Telegram to view this post
VIEW IN TELEGRAM
<?php
if(isset($message->video)){
bot('deleteMessage',[
'message_id'=>$mid,
'chat_id'=>$chat_id,
]);
bot('SendMessage',[
'chat_id'=>$chat_id,
'text'=>"๐ฅ <b>Video yubormang!</b>",
'parse_mode'=>"html",
'relpy_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"๐ฅ Guruhga qo'shish",'url'=>"https://t.me/$bot?startgroup=new"]],
]
])
]);
}
?>
#function
Please open Telegram to view this post
VIEW IN TELEGRAM
๐4
if(mb_stripos($text,"!ban")!==false){
if($get == "administrator" or $get == "creator" or $uid==$admin){
bot('kickChatMember',[
'chat_id'=>$cid,
'user_id'=>$repid,
'can_send_messages'=>false,
'can_send_media_messages'=>false,
'can_send_other_messages'=>false,
'can_add_web_page_previews'=>false
]);
bot('sendmessage',[
'chat_id'=>$cid,
'parse_mode'=>'html',
'text'=>"<a href='tg://user?id=$repid'>$repname</a> guruhdan <b>KICK</b> va <b>BAN</b> qilindi!",
]);
}
} #function
Please open Telegram to view this post
VIEW IN TELEGRAM
๐5
Please open Telegram to view this post
VIEW IN TELEGRAM
test bot.zip
21.4 KB
Professional_PHPPlease open Telegram to view this post
VIEW IN TELEGRAM
Obmen.zip
17.6 KB
ยซ๐ Obmen Botยป kodi.โ
๐คUshbu kod oddiy obmen bot kodlaridan emas. Kodni Ichida siz boshqa obmen botlarda ko'rgan hamma funksiyalar mavjud va admin paneli ham mukammal.๐ฑ
๐จโ๐ปManba: @Org_Coder
๐Tarqatildi: @UsefulCoders
๐คUshbu kod oddiy obmen bot kodlaridan emas. Kodni Ichida siz boshqa obmen botlarda ko'rgan hamma funksiyalar mavjud va admin paneli ham mukammal.๐ฑ
๐จโ๐ปManba: @Org_Coder
๐Tarqatildi: @UsefulCoders