企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

群聊会话 → [消息发送] 发送图文消息 (mpnews)

AI-generated

Summary

Send an mpnews message to a WeCom group chat, with one or more articles supplied in form fields or as JSON. The operation uses the configured WeCom credentials and the required chat ID.

Inputs

  • 群聊ID (required) — Unique ID of the group chat to receive the message.
  • 输入方式 — Choose form input or JSON input for the article list; defaults to form input.
  • 图文列表 (required) — In form mode, add 1–8 articles. Each requires a title, thumbnail media ID, and HTML-capable content. Author, original-content URL, and digest are optional.
  • 图文列表(JSON) — In JSON mode, provide an article array or an object containing articles. Article fields follow the form inputs, including title, thumb_media_id, and content.
  • 保密消息 — Mark the message as confidential; defaults to false.

Output shape

A single item containing the WeCom API response for sending the message.

The message is sent as a side effect to the specified group chat. The thumbnail must use a media ID; the properties describe the content as HTML-capable. JSON mode accepts an array or an object containing articles.

Links

Discussion