Wechat OfficialAccount icon

Wechat OfficialAccount

Wechat OfficialAccount

Actions77

草稿管理 → 更新草稿

AI-generated

Summary

Update an existing WeChat draft by media ID, replacing the article at the specified position with the supplied article content.

Inputs

  • media_id (required) — ID of the draft to update.
  • index — Article position in the draft, starting at 0. Relevant for drafts with multiple articles; defaults to 0.
  • articles (required) — Article content to write at that position. Choose a news article or image message. Both require a title and content. News articles can include author, digest, original URL, permanent cover media ID, comment settings, and cover crop coordinates. Image messages require 1–20 permanent image media IDs and can include cover crop details and product information. Content supports HTML for news and has the limits and filtering described in the field hint.

Output shape

A single response from the WeChat API.

The source pack omits the operation implementation body, so the exact response fields are not available.

Links

Discussion