Actions25
消息推送 → 更新模版卡片消息
AI-generatedSummary
Update an existing template card message in a Wechat Work application using a unique response code and modify its button text and recipient list.
Inputs
- *企业应用的ID (required) — The ID of the enterprise application, found on the app's settings page.
- 企业的成员ID列表 — Optional list of enterprise member UserIDs to receive the updated card (up to 1000 members).
- 企业的部门ID列表 — Optional list of enterprise department IDs to receive the updated card (up to 100 departments).
- 企业的标签ID列表 — Optional list of enterprise tag IDs to receive the updated card (up to 100 tags).
- 更新整个任务接收人员 — Boolean flag to update the entire task's recipients; if true, the update targets all intended recipients.
- *更新卡片所需要消费的Code (required) — The unique response code required to update the card, obtained from sending a message or callback, which can only be used once and within 72 hours.
- *需要更新的按钮的文案 (required) — The new text to display on the button in the template card.
Output shape
a single JSON object representing the API response from Wechat Work's update template card endpoint
Makes a POST request to
/cgi-bin/message/update_template_cardwith the specified parameters. The response contains success or error information from the Wechat Work API.