Duaer

集成

Duaer 里 Telegram 的常见问题

Duaer 里 Telegram 节点的常见问题:机器人不在频道里、找 Chat ID、每秒 30 条的限制、消息末尾的署名。

机器人不在频道里

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

找 Chat ID

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

  • 用 Telegram Trigger 接收一条群消息,输出里有 chat.id。
  • 网页版 Telegram 打开群组,地址里 g 后面的数字前加 - 就是 Chat ID。

每秒超过 30 条

Telegram 限制机器人每秒最多发 30 条。用 Loop Over Items 每批最多 30 个 Chat ID,发完接一个 Wait 等 1 秒以上再回到循环。

去掉消息末尾的 Duaer 署名

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

常见问题

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

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

同组