Sinab koΚ»rila bot @jamsh1db1k10bot π€
Vazifasi: PDF tashlaysiz, u esa rasm qilib beradi πβ‘οΈπΌοΈ
Hozircha ishlatish VIP, keyinchalik yoqsa sotaman yoki tarqataman β¨
Vazifasi: PDF tashlaysiz, u esa rasm qilib beradi πβ‘οΈπΌοΈ
Hozircha ishlatish VIP, keyinchalik yoqsa sotaman yoki tarqataman β¨
Telegram
οΈβ/β
Python π
Forwarded from BotNews
This media is not supported in your browser
VIEW IN TELEGRAM
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
β’ 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.
β’ 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.
β’ 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.
β’ 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
Please open Telegram to view this post
VIEW IN TELEGRAM
# Telegram Bot API 10.3 β Yangi funksiyalar uchun curl so'rovlari
>
## 1. Rich Messages
### RichMessageButton bilan sendRichMessage
### RichBlockTable β is_compact bilan
### RichBlockExpandableBlockQuotation
### RichBlockDocument β fayl bilan
---
## 2. Ephemeral Messages
### sendMessage β ephemeral_message_parameters bilan
### sendPhoto β ephemeral xabar sifatida
### editEphemeralMessageMedia β yangi fayl yuklab (multipart)
### editEphemeralMessageCaption β show_caption_above_media bilan
### editEphemeralMessageText β rich_message bilan
---
## 3. can_send_welcome_messages
### promoteChatMember
>
<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
}'
### getChatMember β natijada can_send_welcome_messages ko'rinadi
---
## 4. Reply Markup
### DisabledButton β disabled maydoni bilan
### force_reply β Inline klaviaturada
### force_reply β Reply klaviaturada
---
## 5. Umumiy funksiyalar
### sendMessageDraft β can_stop va keep_on_stop bilan
### sendRichMessageDraft β can_stop va keep_on_stop bilan
### getUpdates β MessageGenerationStopped va CommunityChatJoined kabi yangilanishlarni olish
Javobda quyidagi kabi maydonlar keladi:
```json
{
"message_id": 55,
"chat": { "id": <CHAT_ID>, "type": "supergroup" },
"community_chat_joined": {
"chat": { "id": -1009876543210, "type": "supergroup" }
}
}
bash
curl -X GET "https://api.telegram.org/bot<TOKEN>/getBusinessConnection?business_connection_id=<CONNECTION_ID>"
json
{
"gift": { "id": "gift_001" },
"origin": "upgrade",
"text": "Tabriklaymiz!",
"entities": [ { "type": "bold", "offset": 0, "length": 11 } ],
"is_private": true
}
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": false
}'
### getUpdates β MessageGenerationStopped va CommunityChatJoined kabi yangilanishlarni olish
curl -X GET "https://api.telegram.org/bot<TOKEN>/getUpdates"
Javobda quyidagi kabi maydonlar keladi:
{
"update_id": 100000001,
"stopped_message_generation": {
"chat": { "id": <CHAT_ID>, "type": "private" },
"message_id": 42
}
}```json
{
"message_id": 55,
"chat": { "id": <CHAT_ID>, "type": "supergroup" },
"community_chat_joined": {
"chat": { "id": -1009876543210, "type": "supergroup" }
}
}
### getUniqueGiftInfo β text, entities, is_private bilan
bash
curl -X GET "https://api.telegram.org/bot<TOKEN>/getBusinessConnection?business_connection_id=<CONNECTION_ID>"
Javobdagi `UniqueGiftInfo` obyekti:
json
{
"gift": { "id": "gift_001" },
"origin": "upgrade",
"text": "Tabriklaymiz!",
"entities": [ { "type": "bold", "offset": 0, "length": 11 } ],
"is_private": true
}
`Forwarded from οΈβ/β
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from οΈβ/β
Please open Telegram to view this post
VIEW IN TELEGRAM
Kimdadir biror starts yoki mine bot bormi? Avto qilishga harakat qilamiz π€β¨
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? π€
Hammaga salom π
Oramizda Satga qiziqadiganlar bormi? π€
πππππππππππ
https://t.me/grantdasturbot?start=NTEzOA
πππππππππππ
1200+ olish uchun bu botni maslahat beraman π Foydali β
Oramizda Satga qiziqadiganlar bormi? π€
πππππππππππ
https://t.me/grantdasturbot?start=NTEzOA
πππππππππππ
1200+ olish uchun bu botni maslahat beraman π Foydali β
Kimda biror bot bor? π€
10-15 kun host qilib beraman π
Pythonda boΚ»lsa π»
10-15 kun host qilib beraman π
Pythonda boΚ»lsa π»
Forwarded from πΈβπ§βπ§ οΈοΈοΈοΈοΈοΈ
@uzb_228 bugun tugulgan kuniz ekan tabriklaymiz uzoq umur korin
β€βπ₯2