企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

消息推送 → [消息推送] 发送模板卡片消息

AI-generated

Summary

Send a WeCom template card through the group bot, using either the guided form or a JSON card definition.

Inputs

  • Input mode — Choose form or JSON input. Defaults to the guided form.
  • Template card JSON (required) — In JSON mode, provide a template_card object or a complete message object containing template_card.
  • Card type (required) — In form mode, choose a text notice or news notice card.
  • Card content and actions (required) — In form mode, configure the card’s title/content, overall click action, and any applicable image, source, emphasis, quote, horizontal or vertical content, or jump links. Text cards require a title or secondary text; news cards require a title and main image. Optional lists are capped at 4 vertical items, 6 horizontal items, and 3 jump links. Attachments in horizontal content use a Media ID from the Upload media file operation.

Output shape

A single item containing the WeCom API response for the send request.

The operation posts the template card to the group bot; the card itself is built from form fields or supplied JSON.

Links

Discussion