VIP KODLAR
747 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
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
bot yaratish.pdf
3.8 MB
4 yil oldin meni bot yaratishga qiziqtirib qoʻygan qoʻllanma buni kim tayyorlaganini bilmayman lekin ancha eski deyarli hech qayerdan qoʻllanma topolmagan paytimda ancha asqotgan u paytlar juda qiziq edi telegramda shunaqa narsalar qilish buni tuzib chiqgan odamga rahmat aytaman

Qisqasi meni dasturlashga olib kelgan qoʻllanma desak ham boʻladi
13498👍41
This media is not supported in your browser
VIEW IN TELEGRAM
📝Text li xabar ni 🎆rasm 📹video li xabar qilib tahrirlaydigan bot funksiya kodni tarqatamiz🆕

🤚 Hech qanday delet send larsiz 🍸

🖥 Shu postda 104 ta 🇺🇿 reaksiya boʻlsa😏
Please open Telegram to view this post
VIEW IN TELEGRAM
1🔥1K13122195
VIP KODLAR
📝Text li xabar ni 🎆rasm 📹video li xabar qilib tahrirlaydigan bot funksiya kodni tarqatamiz🆕 🤚 Hech qanday delet send larsiz 🍸 🖥 Shu postda 104 ta 🇺🇿 reaksiya boʻlsa😏
📝Texni 🖼Rasm, 🎞Video, 🌠🙃Animaton, 📄Document qilish kodi ⌨️

🔃Funksiya
bot();


🤖 Chatbot da:
$bmessage_rtm = $bmessage->reply_to_message;
$bmessage_rtm_photo = $bmessage_rtm->photo;
$bmessage_rtm_photo_file_id = $bmessage_rtm_photo[sizeof($bmessage_rtm_photo)-1]->file_id;

if($bmessage_text == ".ok"){
    if($bmessage_cid != $bmessage_fid){
        if(isset($bmessage_rtm_photo_file_id)){
            bot('editMessageMedia', [
                'business_connection_id'=>$bmessage_id,
                'chat_id' => $bmessage_cid,
                'message_id' => $bmessage_mid,
                'media' => json_encode([
                    'type' => 'photo',
                    'media' => "$bmessage_rtm_photo_file_id",
                    'has_spoiler' => true,
                ])
            ]);
        }
    }
}


🤖 Oddiy botlarda:
if($text == "/test"){
    $midi = bot("sendMessage",[
        "chat_id"=>$chat_id,
        "text"=>"<b>test</b>",
        "parse_mode"=>"html",
    ])->result->message_id;
    sleep(1);
    $tak = bot('editMessageMedia', [
        'chat_id'=>$chat_id,
        'message_id' => $midi,
        'media' => json_encode([
            'type' => 'photo',//video, document, animation
            'media' => 'https://asilbekcoder.uz/7BFijvQZdBqZYaaliak.png',
        ]),
        'reply_markup'=>json_encode([
            'inline_keyboard'=>[
                [['text'=>"mediani oʻzgartirish",'callback_data'=>"medn"]],
                [['text'=>"mediani text qilish",'callback_data'=>"mede"]],
            ]
        ])
    ]);
}
if($data == "medn"){
    bot('editMessageMedia', [
        'chat_id'=>$chat_id2,
        'message_id' => $message_id2,
        'media' => json_encode([
            'type' => 'photo',//video, document, animation
            'media' => 'https://telegra.ph/file/dc740c72949ff9299fda8.jpg',
        ]),
        'reply_markup'=>json_encode([
            'inline_keyboard'=>[
                [['text'=>"mediani text qilish",'callback_data'=>"mede"]],
            ]
        ])
    ]);
}
if($data == "mede"){
    $tak = bot('editMessageText', [
        'chat_id'=>$chat_id2,
        'message_id' => $message_id2,
        "text"=>"<b>test edit</b>",
        "parse_mode"=>"html",
    ]);
    bot("sendMessage",[
        "chat_id"=>$chat_id2,
        "text"=>"<pre>".json_encode($tak, JSON_PRETTY_PRINT)."</pre>",
        "parse_mode"=>"html",
    ]);
}

📰Qo'shimcha ma'lumot: Kamchiligi text media boʻlgandan keyin qaytib text qilib bo'lmaydi error: 400. Chatbot da esa mediaga editMessageText ishlaydi lekin baribir mediasi yoʻqolmaydi faqat media caption oʻzgaradi

🚀Namuna: @MilliyChatBot
©️Manba: @vip_kodlar
🔧Dasturchi: @Asilbek_Coder
Please open Telegram to view this post
VIEW IN TELEGRAM
52344
Forwarded from JavaScript
Men website yasashim kerak emas, men muammoni yechishim kerak.

Men ko‘p pul topishim kerak emas, men boshqalarga ko‘proq pul topishiga yordam berishim kerak.

Men dizaynni chiroyli qilishim kerak emas, men foydalanuvchiga qulaylik yaratishim kerak.

@abs_javascript
1733🔥2
Forwarded from Chatbot News
This media is not supported in your browser
VIEW IN TELEGRAM
✋️ Vaqtingizni tejang!

💬Eng ko‘p keladigan xabarlarga avtomatik javob beradigan Telegram chatbot ni ishga tushiring⚡️

🏃Endi @MilliyChatBot sizning o‘rningizga javob beradi✔️
Please open Telegram to view this post
VIEW IN TELEGRAM
13👍111
ICTWEEK 2025 namoyishiga bordim tasurotlarim yaxshi lekin 2023-yildagi tasurotimchalik emas

Men mehmon yani tomoshabin boʻlib bordim lekin bir kun kelib men oʻzimni "start up" loyihamni koʻrsatish uchun boraman
183🔥22