Skip to content

[Bug] Telegram 非常容易被限流 #6659

@lekoOwO

Description

@lekoOwO

What happened / 发生了什么

從今天 (2026/3/20) 開始,Bot 在 Telegram 的回覆非常容易講話到一半就被 API 限流導致話說一半沒了

Reproduce / 如何复现?

  1. 使用 Telegram Adapter
  2. 和 Agent 說話,讓他回覆長一點點
  3. 看他話說一半很生氣

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

4.20.1, Docker Compose

OS

Linux

Logs / 报错日志

[2026-03-20 11:02:50.116] [Core] [INFO] [respond.stage:184]: Prepare to send - <Username>/<UID>: 
[2026-03-20 11:02:50.116] [Core] [INFO] [respond.stage:200]: 应用流式输出(telegram)
[2026-03-20 11:02:50.117] [Core] [INFO] [telegram.tg_event:518]: [Telegram] 流式输出: 使用 edit_message_text fallback (群聊)
[2026-03-20 11:03:02.010] [Core] [WARN] [v4.20.1] [telegram.tg_adapter:280]: Received an update without a message.
[2026-03-20 11:05:50.927] [Core] [WARN] [v4.20.1] [telegram.tg_event:697]: 编辑消息失败(streaming): Flood control exceeded. Retry in 27 seconds
[2026-03-20 11:05:52.527] [Core] [WARN] [v4.20.1] [telegram.tg_event:697]: 编辑消息失败(streaming): Flood control exceeded. Retry in 25 seconds
[2026-03-20 11:05:53.246] [Core] [WARN] [v4.20.1] [telegram.tg_event:727]: Markdown转换失败,使用普通文本: Flood control exceeded. Retry in 24 seconds
[2026-03-20 11:05:53.857] [Core] [WARN] [v4.20.1] [telegram.tg_event:734]: 编辑消息失败(streaming): Flood control exceeded. Retry in 24 seconds

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platformThe bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions