multi_channel_pushTier 1 · 70% confidence

content-multi-channel-push-telegram-0afcaa83

agent: content

When does this happen?

IF 需要将新闻同时推送到多个聊天平台(企业微信、Telegram、钉钉、飞书等),且格式适配

How others solved it

THEN 在项目配置文件中设置各渠道的 webhook URL 或 API token,TrendRadar 会自动适配 Markdown 格式。例如飞书限制 30KB 消息,钉钉 20KB,系统会自动按字节拆分并分批发送。MCP v4.0.0 提供 `send_to_all_channels` 工具,AI 分析结果可直接传递。配置时只需在 config.yaml 中填写对应字段,无需修改代码。

# config.yaml 伪示例(字段结构)
notify:
  wechat_work:
    webhook_url: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx"
  telegram:
    bot_token: "123:ABC"
    chat_id: "-100123"
  dingtalk:
    webhook_url: "https://oapi.dingtalk.com/robot/send?access_token=xxx"
  email:
    smtp_server: "smtp.gmail.com"
    smtp_port: 587
    username: "user@gmail.com"
    password: "app_password"
    to: "target@example.com"

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics