Feishu's merge_forward messages appear as "Merged and Forwarded Message" with no content in the bot API. Use the Feishu REST API to retrieve the actual sub-messages.
"Merged and Forwarded Message"msg_type is merge_forwardThe Feishu GET /open-apis/im/v1/messages/{message_id} endpoint returns the parent message plus all sub-messages in data.items[]. Sub-messages have upper_message_id pointing to the parent.
message_id of the merged message (from inbound context or replied message metadata).```bash
bash
```
app_id / app_secret: from OpenClaw config at .channels.feishu in openclaw.json```bash
python3 -c "import json; d=json.load(open('/root/.openclaw/openclaw.json')); c=d['channels']['feishu']; print(c.get('appId',''), c.get('appSecret',''))"
```
data.items[0] is the parent (merge_forward) messagedata.items[1:] are the sub-messages in chronological orderbody.content with the actual text/post contentmentions[] maps @_user_N placeholders to real namessender.id identifies who sent each sub-messageim:message:readonly scope on the Feishu app.image_key references; they cannot be directly displayed but can be described from context.chat_id); the original chat context may differ from the current group.共 1 个版本