VIP KODLAR
748 subscribers
140 photos
27 videos
8 files
131 links
👨‍💻 Takliflar boʻlsa: t.me/vip_kodlar?direct
✉️ Murojaat boʻlsa: @AsilbekCoderBot
🤖 Asosiy bot: @VipKodBot

👥 Muhokama boʻlsa: @vip_kodlar_chat
Download Telegram
API

$url = 'https://m.stadion.uz/news/rss';
$rss = simplexml_load_file($url);
foreach ($rss->channel->item as $item){
$line = $item->title;
$lifud = $item->link;
}

Funksiya
bot();

if($data=="fudboly"){
$soat = date('H:i', strtotime('2 hour'));
bot('DeleteMessage',[
'chat_id'=>$cid2,
'message_id'=>$mid2,
]);
bot('sendmessage',[
'chat_id'=>$cid2,
'message_id'=>$mid2,
'text'=> "<pre>Xozirgi Soat: $vaqt bo'yicha \n</pre>\n🔔Eng so‘ngi 📰futbol yangiliklari

🆕️[$line]($lifud)

🍃Batafsil o‘qish uchun bosing
",
'show_alert'=>true,
'parse_mode' =>"html",
'reply_markup'=>json_encode(
['inline_keyboard' => [
[['text'=>'◀️','callback_data'=>'vertual']],
]
])
]);
}

Qoʻshimcha maʼlumot: cdate();
Stadionuz saytidan xozirgi real vaqtdagi malumotni olib beradi

🚀Namuna: t.me/Anowkabot
©️Manba: @vip_kodlar
🐶Dasturchi: @Boydadasi
Please open Telegram to view this post
VIEW IN TELEGRAM
1👍543211
This media is not supported in your browser
VIEW IN TELEGRAM
🤖 ChatGPT bilan oʻyin. ChatGPT siz soʻragan narsani aytmasa undan boshqacha usulda soʻrang u bilmasdan javob berib qoʻyadi
Please open Telegram to view this post
VIEW IN TELEGRAM
1🔥9764👍1
Forwarded from Men, Adamov
#css_in_js
🤔 CSS-in-JS nima?
Bu — an'anaviy .css fayllari o'rniga JavaScript kodining o'zida CSS stillarini yozish imkonini beruvchi texnika. Stillar to'g'ridan-to'g'ri komponentlarga "bog'lanadi".

🤨 Qayerda ishlatiladi?
Asosan, React, Vue, Svelte kabi komponentlarga asoslangan freymvorklar bilan birga qo'llaniladi. Styled-components, Emotion, JSS kabi kutubxonalar bu yondashuvning eng mashhur namoyandalaridir.

🥸 Qiziqarli faktlar:
🚀 Dinamiklikning cho'qqisi: Stillarni JavaScript o'zgaruvchilari (props, state) orqali boshqarish mumkin. Masalan, tugma bosilishiga qarab uning rangini bir zumda o'zgartirish!
🚀 Global CSS'dan qochish: Bu usul "klasslar mojarosi" (class name collision) muammosini deyarli yo'qqa chiqaradi. Har bir stil faqat o'zi tegishli bo'lgan komponentga ta'sir qiladi.
🚀 "O'lik kod"ni avtomatik tozalash: Faqat ishlatilayotgan komponentlarning stillari sahifaga qo'shiladi. Agar biror komponentni o'chirsangiz, uning stillari ham avtomatik ravishda yo'qoladi. Kod ortiqcha "chiqindilar"dan tozalanadi!

👉🏿 Men, Adamov 👈🏿
Please open Telegram to view this post
VIEW IN TELEGRAM
16332🔥1
Please open Telegram to view this post
VIEW IN TELEGRAM
99👍743
Assalomu alaykum va rohmatullohi va barokatuh❤️
Qurbon hayitingiz muborak boʻlsin
🌹
Please open Telegram to view this post
VIEW IN TELEGRAM
2175432
Please open Telegram to view this post
VIEW IN TELEGRAM
2361514👍55
Please open Telegram to view this post
VIEW IN TELEGRAM
114665👍2
😀 Mohirdev hayitlik tarqatyapti ekan. Men o‘zimnikini oldim. Olish uchun quyidagi havolaga o‘ting ⬇️

🤫Tayyori👇
https://mohirdev.uz/gift?id=5819317484

😎Oʻzim olaman desangiz👇
https://t.me/mohirdevuzbot?start=hayitlik
Please open Telegram to view this post
VIEW IN TELEGRAM
16332👍1
VIP KODLAR
Please open Telegram to view this post
VIEW IN TELEGRAM
427882🔥1
The birth of an elePHPant

O'rgimchak to'ri o'tgan asrning oxirlarida tarqalishni boshladi. Ammo u vaqtlarda hozirgidek web saytlar yaratish uchun yetarlicha resurslar mavjud bo'lmagan. Oddiy misol web saytdagi dinamik qismlarni yaratish uchun dasturchilarda faqat CGI tavlovi bor edi xolos. Keyinchalik davraga PHP keldi. PHP birinchi marotaba 1994-yilda Rasmus Lerdorf tomonidan, o'zining saytidagi mehmonlar hisoblash uchun script to'plami sifatida ishlab chiqilgan. Birinchi versiya PERL asosida qurilgan, keyinchalik scriptning unumdorligi pastligi sabab C asosida qaytadan yozilgan. Muallif scriptni yaratish bilan birga uning kodlarini ham boshidan boshqalar bilan bo'lishib kelgan (PHP opensource loyiha), bu esa ushbu tilning tez orada keng ko'lamda qo'llanilishiga sabab bo'lgan.

Lekin PHPda ko'pchilik e'tibordan chetda qoldiradigan bir jihat bor. Linuxdagi pingvin bir belgi bo'lgani kabi phpda fil ramzi bor. Ushbu ramziy belgining tug'ilishiga 1998-yilda INSIGN egentligi xodimi Vinsent Pontye (Elroubio) sababchi bo'lgan. Bu vaqtda PHP dunyo serverlarining 10% qismini egallagan edi.

Pontye dasturchi do'sti bilan PHP haqidagi suhbatda "PHP" so'zini qog'ozga chizib o'tirib tasodifan birikma filga o'xshashini payqab qoladi. O'sha davrda Fransiyada ham ma'lum saytlar PHP asosida ishlashni boshlagan edi, jumladan Jan-Pyer Dezelus o'zining PHPinfo.net saytida bu til haqida keng ma'lumot berib borar edi. Qiziq tomoni shundaki Jan-Pyer fillar kollektori bo'lgan. Pontye o'ylanib o'tirmasdan qog'ozdagi qoralamani Jan-Pyerga yuboradi, Jan-Pyer esa undan PHPning original logosiga asoslanib (qora konturli gradientli ko‘k oval) fil suratini chizishni so'raydi. Shundan so'ng ular fil suratini elePHPant iborasi bilan PHPinfo.net saytiga joylashadi.

Vaqt o'tib fil PHPning ramziga aylandi, PHPinfo sayti sharafiga phpinfo() funksiyasi qo'shiladi.

@yetimdasturchi
17642👍1
madeline bilan botdagi barcha chatlarini tiklash

$ids = $this->getDialogIds();

echo json_encode($ids);


©️Manba: @vip_kodlar
Dasturchi: @DrLiviesey
Please open Telegram to view this post
VIEW IN TELEGRAM
11743
✏️To Do List, Cheklist ga oʻzgaribdi + zoʻr tarafi buni tahrirlasa va boshqalar vazifa qoʻshsa boʻlarkan

Sozlanmalar 🎚️
1. Boshqalar belgilay olish olmasligi guruh+shaxsiyda
2. Boshqalar vazifa qoʻshish qoʻsholmasligi guruh+shaxsiyda

🆕 Ehtimol keyinchalik botlarga ham chiqar💡
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
18276👍21
Forwarded from BotNews
Bot API 9.1

☑️ Checklists
Introduced support for native checklists.
Out of the box, business bots can create and edit checklists.
Bots can now receive checklists and detect progress via service messages.

🎁 Gifts, Stars and More
Improved gifts with details on their last sale and transfer cooldown.
Bots can now easily check their Telegram Star balance.
Mini Apps can now hide the on-screen keyboard.
Unlocked more poll options, allowing up to 12.

And more, see the full changelog for details:

https://core.telegram.org/bots/api-changelog#july-3-2025
Please open Telegram to view this post
VIEW IN TELEGRAM
11643👍1
This media is not supported in your browser
VIEW IN TELEGRAM
✈️Telegram biznes ChatBot bilan oson cheklist yaratish📝

🔃Funksiya
bot();


$bmessage = $update->business_message;
$bmessage_id = $bmessage->business_connection_id;
$bmessage_text = $bmessage->text;
$bmessage_emojitext = $bmessage->entities;
$bmessage_mid = $bmessage->message_id;

if (preg_match("/\.cheklist/i", $bmessage_text)) {
bot('editMessageText', [
'business_connection_id' => $bmessage_id,
'chat_id' => $bmessage_cid,
'message_id' => $bmessage_mid,
'text' => "ㅤ",
]);

$text = explode(".cheklist", $bmessage_text)[1];

$pattern = '/[\x{1F000}-\x{1FFFF}]/u';

$emojiIndex = 0;

$modified_text = preg_replace_callback($pattern, function($matches) use (&$emojiIndex, $bmessage_emojitext) {
global $emojiIndex, $bmessage_emojitext;
$currentEmoji = $matches[0];
$emoji_id = $bmessage_emojitext[$emojiIndex]->custom_emoji_id;
$emojiIndex++;
return "<tg-emoji emoji-id='{$emoji_id}'>{$currentEmoji}</tg-emoji>";
}, $text);

$lines = explode("\n", $modified_text);
$tasks = [];

foreach ($lines as $i => $line) {
if ($line !== "") {
$tasks[] = [
"id" => $i + 1,
"text" => "$line",
"parse_mode" => "html",
];
}
}

$resultc = bot('editMessageChecklist', [
'business_connection_id' => $bmessage_id,
'chat_id' => $bmessage_cid,
'message_id' => $bmessage_mid,
'checklist' => json_encode([
'title' => "<tg-emoji emoji-id='6039779802741739617'>🗂</tg-emoji> Vazifalar",
'parse_mode' => "html",
'tasks' => $tasks
]),
'others_can_add_tasks' => true,
'others_can_mark_tasks_as_done' => true,
]);
}

📰Qo'shimcha ma'lumot: https://t.me/VIP_KODLAR/237?single

🚀Namuna: @MilliyChatBot
©️Manba: @vip_kodlar
🔧Dasturchi: @Asilbek_Coder
Please open Telegram to view this post
VIEW IN TELEGRAM
125108🔥3👍2
Forwarded from News and Tips
This media is not supported in your browser
VIEW IN TELEGRAM
🤖 @BotFather is now available as a Mini App, making it easier than ever to create and manage your bots

Thanks :  💌💌💌
Please open Telegram to view this post
VIEW IN TELEGRAM
41916127👍2
Forwarded from BotNews
Bot API 9.2

📭 Direct Messages in Channels
Introduced Channel Direct Messages Chats, allowing bots to send and detect Direct Messages in channels they manage.
Bots can now identify direct messages chats and their parent channel.
• Bots now additionally receive topic metadata for direct messages.

⭐️ Suggested Posts
Introduced full support for Suggested Posts in channels, unlocking granular automations via bots with sufficient rights.
Bots can now detect, send, approve and decline suggested posts, with detailed price and date options.
All relevant service messages are supported – including approvals, errors, declines, successful payments and refunds.

☑️ Checklists
Bots can now reply directly to individual checklist tasks.

🎁 Gifts
Gifts can now expose their publisher chat for attribution.

And more, see the full changelog for details:

https://core.telegram.org/bots/api-changelog#august-15-2025
Please open Telegram to view this post
VIEW IN TELEGRAM
117👍642
This media is not supported in your browser
VIEW IN TELEGRAM
📢Kanallardagi direct xabarlarga auto javob beradigan funksiya

🔃Funksiya
bot();


$message = $update->message;
$text = $message->text;
$cid = $message->chat->id;
$mid = $message->message_id;
$directm = $message->direct_messages_topic;
$dtopic_id = $directm->topic_id;
$duser_name = $directm->user->first_name;

if(isset($directm)){
$mide = bot('sendmessage',[
'chat_id'=>$cid,
'direct_messages_topic_id'=>$dtopic_id,
'reply_to_message_id' => $mid,
'text'=>"",
'parse_mode'=>"html",
])->result->message_id;

$data = json_decode(file_get_contents("https://api.smtv.uz/ai/index.php?text=".urlencode($text)), true);
$javob = $data['answer'];

bot('editmessagetext',[
'chat_id'=>$cid,
'direct_messages_topic_id'=>$dtopic_id,
'message_id' => $mide,
'text'=>"$javob",
'parse_mode'=>"html",
]);
}

📰Qo'shimcha ma'lumot: $cid direct guruh -idli bo'ladi $dtopic_id direct ga yozgan obunachi idsi bo'ladi. direct_messages_topic_id parametrini sendPhoto, sendVideo, vahokazo methodlarga qo'shsangiz bo'ladi

🚀Namuna: @DirectgBot
©️Manba: @vip_kodlar
🔧Dasturchi: @Asilbek_Coder
Please open Telegram to view this post
VIEW IN TELEGRAM
11877👍2🔥11
💎 Fragment dan stars sotib olish

<?php

$url = "https://cosmoai.uz/fragment/index.php";

$data = [
"username" => "cysze", // username
"amount" => 50, // 50 stars
"seed" => "auction rough ... bullet" // 24 kalit so'zlari
];

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_TIMEOUT, 0);

$response = curl_exec($ch);

if (curl_errno($ch)) {
echo "Curl xato: " . curl_error($ch);
} else {
echo $response;
}

curl_close($ch);



©️Manba: @vip_kodlar
🔧Dasturchi: @cysze
Please open Telegram to view this post
VIEW IN TELEGRAM
12486
🌟 Kanal yoki profilga katta rasmni istoryalar bilan qoʻyish qoʻllanmasi: t.me/vip_kodlar_chat/6239

📹Instagram uchun ham moslandi: t.me/vip_kodlar_chat/6511
Please open Telegram to view this post
VIEW IN TELEGRAM
115772