Forwarded from News and Tips
This media is not supported in your browser
VIEW IN TELEGRAM
Thanks : 💌💌💌
Please open Telegram to view this post
VIEW IN TELEGRAM
4 19 16 12 7👍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
• 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.
• 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.
• Bots can now reply directly to individual checklist tasks.
• 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
1 17👍6 4 2
This media is not supported in your browser
VIEW IN TELEGRAM
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",
]);
}
direct_messages_topic_id parametrini sendPhoto, sendVideo, vahokazo methodlarga qo'shsangiz bo'ladiPlease open Telegram to view this post
VIEW IN TELEGRAM
1 18 7 7👍2🔥1 1
<?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);
Please open Telegram to view this post
VIEW IN TELEGRAM
1 24 8 6
Please open Telegram to view this post
VIEW IN TELEGRAM
1 15 7 7 2
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
Qisqasi meni dasturlashga olib kelgan qoʻllanma desak ham boʻladi
1 34 9 8👍4 1
This media is not supported in your browser
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1🔥1K 131 22 19 5
VIP KODLAR
Menimcha 204 ta ko'plik qildi 104 taga tushurdik endi go ozgina qoldi 🇺🇿
Please open Telegram to view this post
VIEW IN TELEGRAM
1 12 5 5👍1 1
VIP KODLAR
bot();
$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,
])
]);
}
}
}
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",
]);
}Please open Telegram to view this post
VIEW IN TELEGRAM
5 23 4 4
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
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
1 7 3 3🔥2
Forwarded from Chatbot News
This media is not supported in your browser
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1 3👍1 1 1
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
Men mehmon yani tomoshabin boʻlib bordim lekin bir kun kelib men oʻzimni "start up" loyihamni koʻrsatish uchun boraman
1 8 3🔥2 2
This media is not supported in your browser
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1 3 3 2