Asilbek Coder
Anchadan beri 🙂 da kod yozmaganimga ko'p narsa o'zgarib ketdimi? (oldin host/server panelida kod yozardim)
Men yozmoqchi bo'lgan kodni mendan oldin yozishni taklif qilyapti
+ tomoni tezroq kod yozasiz
- tomoni mantiqiy fikrlashingizni kamaytirishi mumkin
Men yozmoqchi bo'lgan kodni mendan oldin yozishni taklif qilyapti
+ tomoni tezroq kod yozasiz
- tomoni mantiqiy fikrlashingizni kamaytirishi mumkin
Please open Telegram to view this post
VIEW IN TELEGRAM
2 7 6 4 2 2 2 1
Forwarded from BotNews
Bot API 9.6
🦀 Managed Bots
• Manager bots are used to bootstrap and control other bots on behalf of their owners – easily orchestrating any number of AI agents, Business Accounts and custom tools.
• Out of the box, manager bots can prompt users to create a bot in one tap and easily fetch their token to start piloting them.
📊 Poll Revolution
• Polls now support multiple correct answers, re-issuing votes, hidden results and richly formatted descriptions.
• Poll options now have persistent ids and can be shuffled or dynamically added by users.
• Bots can now additionally reply to a specific poll option.
✈ General
• Mini Apps can now natively request users, chats and managed bots in one tap via prepared keybord buttons.
• Expanded support for date and time entities in checklists, quotes and gift texts.
• And more, see the full changelog for details:
https://core.telegram.org/bots/api-changelog#april-3-2026
• Manager bots are used to bootstrap and control other bots on behalf of their owners – easily orchestrating any number of AI agents, Business Accounts and custom tools.
• Out of the box, manager bots can prompt users to create a bot in one tap and easily fetch their token to start piloting them.
• Polls now support multiple correct answers, re-issuing votes, hidden results and richly formatted descriptions.
• Poll options now have persistent ids and can be shuffled or dynamically added by users.
• Bots can now additionally reply to a specific poll option.
• Mini Apps can now natively request users, chats and managed bots in one tap via prepared keybord buttons.
• Expanded support for date and time entities in checklists, quotes and gift texts.
• And more, see the full changelog for details:
https://core.telegram.org/bots/api-changelog#april-3-2026
Please open Telegram to view this post
VIEW IN TELEGRAM
2 6 4 4 2 2 2 1 1
Asilbek Coder
Bot API 9.6 🦀 Managed Bots • Manager bots are used to bootstrap and control other bots on behalf of their owners – easily orchestrating any number of AI agents, Business Accounts and custom tools. • Out of the box, manager bots can prompt users to create…
hosh keyboard larni test qilib ko’ramiz
2 7 4 4 3 2 1 1
Asilbek Coder
create a bot
t.me/BotFather?startapp > MyBot > Bot Settings > Bot Management Mode
Asosiy bot sizga multi bot yaratishga yordam beradi siz oson va tez bot yaratasiz bot boshqaruvi asosiy botda ham sizda ham bo'ladi MakerBot CloneBot vahokazo botlar uchun ancha qulay funksiya
Please open Telegram to view this post
VIEW IN TELEGRAM
2 7 5 4 3 2 2
Asilbek Coder
$mb_created = $message->managed_bot_created;
$mb_id = $mb_created->bot->id;
$mb_name = $mb_created->bot->first_name;
$mb_username = $mb_created->bot->username;
if($mb_created){
$newToken = bot('getManagedBotToken', [
'user_id' => $mb_id,
])->result;
$mb_nameh = htmlspecialchars($mb_name, ENT_QUOTES, 'UTF-8');
bot('sendMessage', [
'chat_id' => $chat_id,
'reply_to_message_id' => $message_id,
'text' => "<tg-emoji emoji-id='5372981976804366741'>🤖</tg-emoji> Yangi $mb_nameh @$mb_username yaratdingiz <tg-emoji emoji-id='5206607081334906820'>✔️</tg-emoji>",
'parse_mode' => "html",
'reply_markup' => json_encode([
'remove_keyboard' => true,
])
]);
}if($text == "/newbot"){
$addbot = [
"request_id"=>rand(10000,999999),
"suggested_name"=> "Bot nomi",
"suggested_username"=> "dfgserqereth",
];
$mid = bot('sendMessage', [
'chat_id' => $chat_id,
'parse_mode' => 'html',
'text' => "<b><tg-emoji emoji-id='5372981976804366741'>🤖</tg-emoji> Bot ochish uchun quyidagi (Bot yaratish) ni bosing <tg-emoji emoji-id='5406745015365943482'>⬇️</tg-emoji></b>",
'reply_markup'=>json_encode([
'resize_keyboard'=>true,
'keyboard'=>[
[['text'=>"Bot yaratish 🤖","request_managed_bot"=>$addbot, "style"=> "primary", 'icon_custom_emoji_id'=> 5274008024585871702]],
]
]),
]);
}request tugmada ishlaydi. Asosiy bot siz yaratgan multi botni to'liq boshqara oladi botingizga rasm qo'ya oladi nomini biosini vahokazo va hatto tokenini ham o'zgartira oladi replaceManagedBotToken bilan user_id degan joyga bot idsini kiritiladiPlease open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
2 5 4 4 2 2 1 1 1 1
Forwarded from BotNews
Historically, bot-to-bot interaction was restricted on Telegram to prevent infinite message loops.
Starting today, in specific contexts, Bot-to-Bot communication is allowed – unlocking complex agentic flows and AI-powered use cases.
Out of the box, this feature will work in groups and via business mode. To start using it, simply enable the Bot-to-Bot Communication Mode for your bot via @BotFather.
You can reference the full documentation here.
Please open Telegram to view this post
VIEW IN TELEGRAM
2 5 4 3 2 2 2
VIP KODLAR
Buni ishlatib koʻrish kerak t.me/BotFather?startapp
Bu funksiyani Biznes ChatBot da sinab ko'rdim (Oddiy botlarda hali test qilyapman)
Endi ChatBot ulangan akauntdagi botlarni xabarini ko'ra oladi javob bera oladi (oldin faqat shaxsiy lichkalarga ishlar edi)
Bu bilan random so'm avto to'lov qilsa bo'ladi oldin faqat userbot da qilinardi endi userbotsiz qilsa bo'ladi (Akauntdan userbot chiqib ketishi userbot ishlamay qolishi kabi muammolar bo'lmaydi)
Extiyot bo'lish kerak akaunt botga xabar yuborsa bot ham shunday xabar yuborsa cheksiz sikl takrorlanishi mumkin bu koddan o'zgartirilmaguncha davom etadi t.me/vip_kodlar_chat/12680
Endi ChatBot ulangan akauntdagi botlarni xabarini ko'ra oladi javob bera oladi (oldin faqat shaxsiy lichkalarga ishlar edi)
Bu bilan random so'm avto to'lov qilsa bo'ladi oldin faqat userbot da qilinardi endi userbotsiz qilsa bo'ladi (Akauntdan userbot chiqib ketishi userbot ishlamay qolishi kabi muammolar bo'lmaydi)
Extiyot bo'lish kerak akaunt botga xabar yuborsa bot ham shunday xabar yuborsa cheksiz sikl takrorlanishi mumkin bu koddan o'zgartirilmaguncha davom etadi t.me/vip_kodlar_chat/12680
8 6 4 4 3 2 2 1
VIP KODLAR
(Oddiy botlarda hali test qilyapman)
Oddiy botlarda "Bot to Bot Communication Mode" yoqilsa faqat file_id ni bitta akauntga tegishli botlar ishlata olishini ko'rdim boshqa o'zgarishni sezmadim
Oldin bitta bot file_id si faqat o'sha botni o'ziga ishlar edi hozir bot ochgan kishini nechta boti bo'lsa hammasida ishlaydi lekin boshqa kishini botida ishlamas ekan
Guruhdagi botlar bir birini xabarini ko'ra olishi menda ishlamayapti kimdadir ishladimi?
Oldin bitta bot file_id si faqat o'sha botni o'ziga ishlar edi hozir bot ochgan kishini nechta boti bo'lsa hammasida ishlaydi lekin boshqa kishini botida ishlamas ekan
Guruhdagi botlar bir birini xabarini ko'ra olishi menda ishlamayapti kimdadir ishladimi?
2 8 6 5 4 3 3 1
Forwarded from teleLakel
Noticed how Pavel Durov has been more active lately — notices Telegram issues, engaging with users more? 🤔
For example, support for banning userbots in groups that spam reactions is soon — along with removal of all their reactions in the group + Bot API method will be added for this. He mentioned it in replies under a channel post.
Lately, clients have been getting more bug fixes — and more new features are being planned.
@telelakel
For example, support for banning userbots in groups that spam reactions is soon — along with removal of all their reactions in the group + Bot API method will be added for this. He mentioned it in replies under a channel post.
Lately, clients have been getting more bug fixes — and more new features are being planned.
Make Telegram more great?
@telelakel
Please open Telegram to view this post
VIEW IN TELEGRAM
2 7 3 3 3 2 2
Please open Telegram to view this post
VIEW IN TELEGRAM
5 21 9 5 5 5 4 3
Erkinlik uchun kurashing va yutib oling
To‘liq ma’lumot: https://www.libertyprize.org/
Deb post yozdi @Durov
Kim insho yozoladi? (gpt ai siz)
Please open Telegram to view this post
VIEW IN TELEGRAM
2 5 4 4 3 2 2 1
Pavel Durov
Group admins can assign tags to users — or embrace the chaos and let them assign their own. 🔥
This media is not supported in your browser
VIEW IN TELEGRAM
if (strpos(ltrim($text), '/teg') === 0) {
if($type == "private"){
bot("sendMessage",[
"chat_id"=>$chat_id,
'reply_to_message_id' => $message_id,
"text"=>"Bu buyruq faqat guruhda ishlaydi<tg-emoji emoji-id='5274099962655816924'>❗️</tg-emoji>",
"parse_mode"=>"html",
]);
}else{
if(isset($rply)){
$from_id = $rfrom_id;
$name = $rname;
}
$nd = explode("/teg", $text)[1];
$teg = trim($nd);
if (strlen($teg) <= 16) {
$nameh = htmlspecialchars($name, ENT_QUOTES, 'UTF-8');
$ok = bot("setChatMemberTag",[
"chat_id"=>$chat_id,
'user_id' => $from_id,
"tag"=>"$teg",
]);
if($ok->ok){
bot("sendMessage",[
"chat_id"=>$chat_id,
'reply_to_message_id' => $message_id,
"text"=> "<a href='tg://user?id=$from_id'>$nameh</a>$statushtml ga <code>$teg</code> teg qo'yildi <tg-emoji emoji-id='5206607081334906820'>✔️</tg-emoji>",
"parse_mode"=>"html",
]);
}else{
bot("sendMessage",[
"chat_id"=>$chat_id,
'reply_to_message_id' => $message_id,
"text"=> "<pre>".json_encode($ok, JSON_PRETTY_PRINT)."</pre>",
"parse_mode"=>"html",
]);
}
}else{
bot("sendMessage",[
"chat_id"=>$chat_id,
'reply_to_message_id' => $message_id,
"text"=>"Teg 16 ta belgidan kam boʻlishi kerak",
"parse_mode"=>"html",
]);
}
}
}Please open Telegram to view this post
VIEW IN TELEGRAM
2 5 3 3 3 3 3
Forwarded from Naxalov | AI Blog 🔥
Linux - bu butun dunyo kompyuterlari, serverlari va smartfonlarining "yuragi" hisoblanadi. Yaqinda Linux asoschisi Linus Torvalds va uning jamoasi sun'iy intellekt (AI) borasida yakuniy to'xtamga kelishdi.
✅ AI'ga ruxsat: Dasturchilar Copilot kabi AI-yordamchilardan foydalanishi mumkin. Bu taqiqlanmaydi.
❌ "AI Slop" AI yozgan, lekin inson tekshirmagan sifatsiz va mantiqsiz kodlar qabul qilinmaydi.
👤 Mas'uliyat odamda: Agar kodda xato bo'lsa, "buni AI qildi" deb bahona qilib bo'lmaydi. Kod uchun faqat uni yuborgan dasturchi shaxsan javobgar bo'ladi.
Xulosa: AI - bu shunchaki tool, lekin sifat va xavfsizlik uchun faqat inson javob beradi!
✅ AI'ga ruxsat: Dasturchilar Copilot kabi AI-yordamchilardan foydalanishi mumkin. Bu taqiqlanmaydi.
❌ "AI Slop" AI yozgan, lekin inson tekshirmagan sifatsiz va mantiqsiz kodlar qabul qilinmaydi.
👤 Mas'uliyat odamda: Agar kodda xato bo'lsa, "buni AI qildi" deb bahona qilib bo'lmaydi. Kod uchun faqat uni yuborgan dasturchi shaxsan javobgar bo'ladi.
Xulosa: AI - bu shunchaki tool, lekin sifat va xavfsizlik uchun faqat inson javob beradi!
2 11 6 5 4 3 2
Har bir botda endi «Bulutni yoqish» tugmasi mavjud. Faollashtirilganda, u maxsus Bot Cloud tokenini yaratadi (app10000... formatida).
Ushbu funksiya dasturchilarga Telegram infratuzilmasida to‘g‘ridan-to‘g‘ri serverlarsiz JavaScript funksiyalarini ishga tushirish imkonini beradi. Bot Cloud yordamida bot to‘liq bulutda ishlashi mumkin — maxsus server, VPS, webhook yoki uzoq so‘rovlar kerak emas. Kod Telegram serverlarida kelayotgan yangilanishlarga javoban avtomatik bajariladi, bu esa ayniqsa oddiy botlar uchun rivojlantirish va texnik xizmat ko‘rsatishni sezilarli darajada soddalashtiradi.
© @telelakel
Please open Telegram to view this post
VIEW IN TELEGRAM
2 5 5 4 3