1 August 2026
Cairina MoschataФотография
CHAT_ID=
RECEIVER_USER_ID=
RESP=$(curl -s -X POST "https://api.telegram.org/bot$TOKEN/sendMessage" \
-H "Content-Type: application/json" \
-d "{
\"chat_id\": $CHAT_ID,
\"text\": \"hello\",
\"receiver_user_id\": $RECEIVER_USER_ID,
}")
EPH_ID=$(echo "$RESP" | jq -r '.result.ephemeral_message_id')
curl -s -X POST "https://api.telegram.org/bot$TOKEN/editEphemeralMessageText" \
-H "Content-Type: application/json" \
-d "{
\"chat_id\": $CHAT_ID,
\"receiver_user_id\": $RECEIVER_USER_ID,
\"ephemeral_message_id\": $EPH_ID,
\"text\": \"$(printf '0%.0s' {1..1025})\"
}" | jq
{
"ok": false,
"error_code": 400,
"description": "Bad Request: MEDIA_CAPTION_TOO_LONG"
}
CHAT_ID=
RECEIVER_USER_ID=
RESP=$(curl -s -X POST "https://api.telegram.org/bot$TOKEN/sendMessage" \
-H "Content-Type: application/json" \
-d "{
\"chat_id\": $CHAT_ID,
\"text\": \"hello\",
\"receiver_user_id\": $RECEIVER_USER_ID,
}")
EPH_ID=$(echo "$RESP" | jq -r '.result.ephemeral_message_id')
curl -s -X POST "https://api.telegram.org/bot$TOKEN/editEphemeralMessageText" \
-H "Content-Type: application/json" \
-d "{
\"chat_id\": $CHAT_ID,
\"receiver_user_id\": $RECEIVER_USER_ID,
\"ephemeral_message_id\": $EPH_ID,
\"text\": \"$(printf '0%.0s' {1..1025})\"
}" | jq
s0m31Did quote broke language filter bot?
Yup, seems like it
language filter greately working on me - when i trying to write on Russian, system automatically deletes my message
Morozov_nyamlanguage filter greately working on me - when i trying to write on Russian, system automatically deletes my message
There are some ways to bypass it :)
Фотография
click to show
click to show
Hi everyone!
I'm trying to connect a bot to my own Telegram account via a business connection, but every time I try to grant the bot rights to manage my gifts and stars, I get the error shown in the screenshot.
Does anyone know how to fix this, or what triggers this restriction?
Thanks!
id 1004276399text not yet in the index
Hello! Could anyone explain how RPS limits work for bots? It’s not entirely clear what the limits are per second for:
- editing messages previously sent by the bot;
- sending new messages (is the limit 30 per second in total and 1 per second per chat, according to the documentation?);
- webhook replies to user messages—do these count towards the limit, and is it worth using them?
The API often requires multiple calls for a single user message, so I’d like to understand the limitations and how they scale for large bots.
AlbertHello! Could anyone explain how RPS limits work for bots? It’s not entirely clear what the limits are per second for:
- editing messages previously sent by the bot;
- sending new messages (is the limit 30 per second in total and 1 per second per chat, according to the documentati
this is red flag as my explanation above, 1 telegram action/reply per user input.
</$_ic*c#</>this is red flag as my explanation above, 1 telegram action/reply per user input.
yes, but it almost impossible to do only one action. For an example: after callback I have to send answerCallbackQuery and only after that edit bot's previous message
Albertyes, but it almost impossible to do only one action. For an example: after callback I have to send answerCallbackQuery and only after that edit bot's previous message
don't fall on trap of editing the same message after multiples users input, like a high frequency clicking button game
this is > 1 message per second to Telegram
</$_ic*c#</>no problem answering callback + send message
And I'm also curious about answering callback + editing to remove keyboard + sending new message. Is it one action?
AlbertAnd I'm also curious about answering callback + editing to remove keyboard + sending new message. Is it one action?
Think like, It's not set in stone; it's more of a best practice guidelines. If you hit rate limits in future, you already know where is the problem
2 August 2026