openclaw - 💡(How to fix) Fix [openclaw-weixin] Support receiving forwarded WeChat article (link) messages [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#52086Fetched 2026-04-08 01:15:49
View on GitHub
Comments
2
Participants
2
Timeline
2
Reactions
0
Timeline (top)
commented ×2
RAW_BUFFERClick to expand / collapse

Feature Request

Problem

When a user forwards a WeChat Official Account (公众号) article to the bot, the message is silently dropped — the agent receives nothing. This makes it impossible to discuss or process shared articles.

Expected Behavior

When a link/article message is forwarded, the agent should receive at minimum:

  • Title of the article
  • URL (the mp.weixin.qq.com link)
  • Description/summary (if available from the message payload)

Additional Context

  • WeChat link messages have type 49 (app message) with sub-types for articles
  • The XML payload contains <title>, <url>, <des> fields that can be extracted
  • Even just passing the title + URL as a text message would be a huge improvement
  • Server-side fetching of article content is blocked by WeChat anti-scraping (CAPTCHA), so extracting content on the client side before forwarding would be ideal as a follow-up enhancement

Environment

  • Plugin: @tencent-weixin/openclaw-weixin v1.0.2
  • OpenClaw: latest

extent analysis

Fix Plan

To fix the issue, we need to modify the @tencent-weixin/openclaw-weixin plugin to extract and forward the article title, URL, and description when a WeChat Official Account article is forwarded to the bot.

Steps

  • Update the plugin to handle WeChat link messages with type 49 and extract the relevant fields from the XML payload.
  • Use the extracted fields to construct a text message that includes the title, URL, and description (if available).
  • Send the constructed text message to the agent.

Example Code

// Update the message handler to extract and forward article links
const handleMessage = (message) => {
  if (message.MsgType === 'app' && message.AppMsgType === 49) {
    const title = message.AppInfo.Title;
    const url = message.AppInfo.Url;
    const description = message.AppInfo.Description;

    // Construct a text message with the extracted fields
    const textMessage = `Title: ${title}\nURL: ${url}\nDescription: ${description}`;

    // Send the text message to the agent
    sendTextMessage(textMessage);
  }
};

Verification

To verify that the fix worked, forward a WeChat Official Account article to the bot and check if the agent receives a text message with the title, URL, and description of the article.

Extra Tips

  • Make sure to handle any errors that may occur during the extraction and forwarding process.
  • Consider adding additional logging to track any issues that may arise.
  • As a follow-up enhancement, explore ways to extract article content on the client side before forwarding to avoid WeChat anti-scraping measures.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [openclaw-weixin] Support receiving forwarded WeChat article (link) messages [2 comments, 2 participants]