40ta boʻldik 🎉
93 · 💻
87 · File
arxiv.zip · 63 KB · click to show
arxiv.zip · 63 KB · click to show
Vazifasi: Quiz bot 🤖
Versiya: 1
Kerakli kutubxonalar:
kutubxona.txt
oʻrnatish: pip install -r kutubxona.txt
Asosiy fayl: 2.py
Manba: @python_code_org
1 · 90 · Python code org 𝗔⃞+
Link
click to show
click to show
SAT ga qiziqqanlarga foydali 📚
https://t.me/xodiyeveduzbot?start=MzU4OQ
1 · 58 · Botni oʻchityamman. 😮💨
Baribir hechkim ishlamayapti. 🧑💻
56 · Mayli oʻchirmayman 😁
48 · Link
click to show
click to show
Sinab koʻrila bot @jamsh1db1k10bot 🤖
Vazifasi: PDF tashlaysiz, u esa rasm qilib beradi 📄➡️🖼️
Hozircha ishlatish VIP, keyinchalik yoqsa sotaman yoki tarqataman ✨
41 · Video
btns_msgs.mp4 · 3.5 MB · click to show
btns_msgs.mp4 · 3.5 MB · click to show
Bot API 10.3
🔁 Button Revolution
• Buttons can now be placed right inside any rich message – with multiple native styles and custom alignment.
• Out of the box, these buttons support callbacks, Mini Apps, Login URLs, copying text and more.
• Bots can now mark inline buttons as disabled.
👻 Ephemeral Messages
• Bots can now replace their messages with an ephemeral overlay, then edit it with rich content or newly uploaded media. This unlocks rich, personalized flows and responses running in a single message.
💪 Rich Messages
• Bots can now attach documents to rich messages and more easily embed media – including previously uploaded files.
• Rich Messages now support expandable quote blocks and compact tables.
🦀 AI Agents
• Bots now support a native Stop button for streamed drafts and can optionally preserve partial responses.
• And more, see the full changelog for details:
https://core.telegram.org/bots/api-changelog#august-24-2026
28 · Python code org 𝗔⃞+
# Telegram Bot API 10.3 — Yangi funksiyalar uchun curl so'rovlari
> <TOKEN> o'rniga o'z bot tokeningizni, <CHAT_ID> o'rniga chat ID'ni qo'ying.
## 1. Rich Messages
### RichMessageButton bilan sendRichMessage
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendRichMessage" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"rich_message": {
"blocks": [
{
"type": "buttons",
"buttons": [
{ "type": "button", "text": "Saytga o'\''tish", "url": "https://example.com" },
{ "type": "button", "text": "Callback", "callback_data": "action_1" }
]
}
]
}
}'
### RichBlockTable — is_compact bilan
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendRichMessage" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"rich_message": {
"blocks": [
{
"type": "table",
"is_compact": true,
"rows": [ ["Nomi", "Narxi"], ["Mahsulot A", "10 000 so'\''m"] ]
}
]
}
}'
### RichBlockExpandableBlockQuotation
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendRichMessage" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"rich_message": {
"blocks": [
{
"type": "expandable_block_quotation",
"text": "Bu uzun iqtibos matni bo'\''lib, foydalanuvchi uni yig'\''ish yoki ochish imkoniga ega...",
"expanded": false
}
]
}
}'
### RichBlockDocument — fayl bilan
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendRichMessage" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"rich_message": {
"blocks": [
{
"type": "document",
"document": { "file_id": "BAADBAADrwADBREAAYag3z..." },
"caption": "Hisobot fayli"
}
]
}
}'
---
## 2. Ephemeral Messages
### sendMessage — ephemeral_message_parameters bilan
curl -X POST "htt
38 · Link
click to show
click to show
### getChatMember — natijada can_send_welcome_messages ko'rinadi
curl -X GET "https://api.telegram.org/bot<TOKEN>/getChatMember?chat_id=<CHAT_ID>&user_id=987654321"
---
## 4. Reply Markup
### DisabledButton — disabled maydoni bilan
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendMessage" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"text": "Tanlovni belgilang",
"reply_markup": {
"inline_keyboard": [
[
{ "text": "Faol tugma", "callback_data": "active" },
{ "text": "O'\''chirilgan", "callback_data": "inactive", "disabled": true }
]
]
}
}'
### force_reply — Inline klaviaturada
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendMessage" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"text": "Savolga javob bering",
"reply_markup": {
"inline_keyboard": [[ { "text": "Javob berish", "callback_data": "reply_1" } ]],
"force_reply": true
}
}'
### force_reply — Reply klaviaturada
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendMessage" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"text": "Tanlang",
"reply_markup": {
"keyboard": [[ { "text": "Ha" }, { "text": "Yo'\''q" } ]],
"resize_keyboard": true,
"force_reply": true
}
}'
---
## 5. Umumiy funksiyalar
### sendMessageDraft — can_stop va keep_on_stop bilan
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendMessageDraft" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"text": "Yozilmoqda...",
"can_stop": true,
"keep_on_stop": true
}'
### sendRichMessageDraft — can_stop va keep_on_stop bilan
curl -X POST "https://api.telegram.org/bot<TOKEN>/sendRichMessageDraft" \
-H "Content-Type: application/json" \
-d '{
"chat_id": <CHAT_ID>,
"rich_message": { "blocks": [ { "type": "text", "text": "Tayyorlanmoqda..." } ] },
"can_stop": true,
"keep_on_stop"
49 · text not yet in the index
1 · 100 · text not yet in the index
1 · 87 · Kimdadir biror starts yoki mine bot bormi? Avto qilishga harakat qilamiz 🤖✨
65 · Python code org 𝗔⃞+
File
3d_model_viewer (1).html · 785 KB · click to show
3d_model_viewer (1).html · 785 KB · click to show
Qiziq narsa topvoldim 🤩
1 · 60 · Agar sizga 100 ta stars evaziga, koʻchirib boʻlmaydigan aʼzo chatlaridagi barcha maʼlumotlarni boshqa chatga koʻchirish imkonini beruvchi bot kodini taqdim etsam, uni qabul qilishga tayyormisiz? 🤔
53 · Python code org 𝗔⃞+
Hammaga salom 👋
Oramizda Satga qiziqadiganlar bormi? 🤔
👇👇👇👇👇👇👇👇👇👇👇
https://t.me/grantdasturbot?start=NTEzOA
👆👆👆👆👆👆👆👆👆👆👆
1200+ olish uchun bu botni maslahat beraman 📈 Foydali ✅
62 · Voice message
voice_2026-08-29_15-35-15.oga · 91 KB · click to show
voice_2026-08-29_15-35-15.oga · 91 KB · click to show
Hammaga yaxshi kayfiyat 😄
1 · 67 ·