> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/integrations/builtin/app-nodes/duaer-nodes-base.telegram/common-issues.md).

# Duaer 里 Telegram 的常见问题

Duaer 里 Telegram 节点的常见问题：机器人不在频道里、找 Chat ID、每秒 30 条的限制、消息末尾的署名。
## 机器人不在频道里 <a href="#add-a-bot-to-a-telegram-channel" id="add-a-bot-to-a-telegram-channel"></a>

报 Forbidden: bot is not a participant of the channel 时，要先把机器人加进频道：在 Telegram 里打开频道信息，选 Administrators → Add Admin，搜索机器人用户名并确认。

## 找 Chat ID <a href="#get-the-chat-id" id="get-the-chat-id"></a>

@频道用户名 只适用于公开频道。群组要用 Chat ID：

- 用 [Telegram Trigger](/zh/integrations/builtin/trigger-nodes/duaer-nodes-base.telegramtrigger.md) 接收一条群消息，输出里有 chat.id。
- 网页版 Telegram 打开群组，地址里 g 后面的数字前加 - 就是 Chat ID。

## 每秒超过 30 条 <a href="#send-more-than-30-messages-per-second" id="send-more-than-30-messages-per-second"></a>

Telegram 限制机器人每秒最多发 30 条。用 [Loop Over Items](/zh/integrations/builtin/core-nodes/duaer-nodes-base.splitinbatches.md) 每批最多 30 个 Chat ID，发完接一个 [Wait](/zh/integrations/builtin/core-nodes/duaer-nodes-base.wait.md) 等 1 秒以上再回到循环。

## 去掉消息末尾的 Duaer 署名 <a href="#remove-the-duaer-attribution-from-sent-messages" id="remove-the-duaer-attribution-from-sent-messages"></a>

默认会在消息末尾加上 This message was sent automatically with Duaer。在 Additional Fields 里添加 Append Duaer Attribution 并关掉即可。
## Questions

### Duaer 的 Telegram 节点怎么给群组发消息？

在 Duaer Telegram 节点里填群组的 Chat ID（以 - 开头）。@用户名 只适用于公开频道。

