العربية
فتح في Telegram

منشور# Telegram Bot API 10.3 — Yangi funksiyalar uchun curl so'rovlari

25 أغسطس 2026
P
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 "https://api.telegram.org/bot<TOKEN>/sendMessage" \ -H "Content-Type: application/json" \ -d '{ "chat_id": <CHAT_ID>, "text": "Bu vaqtinchalik xabar", "ephemeral_message_parameters": { "receiver_user_id": 987654321, "callback_query_id": "unique_callback_id_123", "replace_callback_query_message": true } }' ### sendPhoto — ephemeral xabar sifatida curl -X POST "https://api.telegram.org/bot<TOKEN>/sendPhoto" \ -H "Content-Type: application/json" \ -d '{ "chat_id": <CHAT_ID>, "photo": "https://example.com/rasm.jpg", "ephemeral_message_parameters": { "receiver_user_id": 987654321 } }' ### editEphemeralMessageMedia — yangi fayl yuklab (multipart) curl -X POST "https://api.telegram.org/bot<TOKEN>/editEphemeralMessageMedia" \ -F "chat_id=<CHAT_ID>" \ -F "message_id=42" \ -F 'media={"type":"photo","media":"attach://new_photo.jpg"}' \ -F "new_photo.jpg=@/local/path/rasm.jpg" ### editEphemeralMessageCaption — show_caption_above_media bilan curl -X POST "https://api.telegram.org/bot<TOKEN>/editEphemeralMessageCaption" \ -H "Content-Type: application/json" \ -d '{ "chat_id": <CHAT_ID>, "message_id": 42, "caption": "Yangi tavsif", "show_caption_above_media": true }' ### editEphemeralMessageText — rich_message bilan curl -X POST "https://api.telegram.org/bot<TOKEN>/editEphemeralMessageText" \ -H "Content-Type: application/json" \ -d '{ "chat_id": <CHAT_ID>, "message_id": 42, "rich_message": { "blocks": [ { "type": "text", "text": "Yangilangan matn" } ] } }' --- ## 3. can_send_welcome_messages ### promoteChatMember curl -X POST "https://api.telegram.org/bot<TOKEN>/promoteChatMember" \ -H "Content-Type: application/json" \ -d '{ "chat_id": <CHAT_ID>, "user_id": 987654321, "can_send_welcome_messages": true }'
38 ·

بجوارها في الخلاصة

PPython code org 𝗔⃞+Sinab koʻrila bot @jamsh1db1k10bot 🤖 Vazifasi: PDF tashlaysiz, u esa rasm qilib beradi 📄➡️🖼️ Hozircha ishlatish VIP, keyinchalik yoqsa sotaman yoki tarqataman ✨PPython code org 𝗔⃞+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,
هذه الرسالة
PPython code org 𝗔⃞+### getChatMember — natijada can_send_welcome_messages ko'rinadi curl -X GET "https://api.telegram.org/bot<TOKEN>/getChatMember?chat_id=<CHAT_ID>&user_id=987654PPython code org 𝗔⃞+
PPython code org 𝗔⃞+Python code org 𝗔⃞+@Python_code_org · قناة · التقنية
24مشتركون48منشورات خلال 30 يومًا
خلاصة المجتمع فتح في Telegram

خلاصة عامة مفتوحة من فهرس البحث ChatCrawler — «Google لـ Telegram العام»؛ تُحدَّث كلما زحفنا إلى المجتمع. الأوقات بتوقيت UTC.

محتوى عام فقط، وAPI Telegram الرسمي. عن المشروع · الأسئلة الشائعة · حدود الفهرس · إزالة صفحة · الدليل · بحث · كيف نحسب