企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

应用消息 → [卡片消息] 发送文本卡片消息

AI-generated

Summary

Send a WeCom text card to selected users, departments, tags, or the app’s visible audience. Configure the card’s title, description, and destination URL, with optional button text, ID translation, and duplicate-message checking.

Inputs

  • Recipient selection — Choose all visible members, enter recipient IDs manually, or select users, departments, and tags from lists. The available limits are 1,000 users, 100 departments, and 100 tags; manual ID lists accept commas or | separators.
  • Card title (required) — Text card title, limited to 128 characters; longer text is truncated. Supports ID translation when enabled.
  • Card description (required) — Card body, limited to 512 characters; longer text is truncated. Supports line breaks with br tags or spaces, colored text with div tags, and ID translation when enabled.
  • Destination URL (required) — Link opened when the recipient clicks the card; include an http:// or https:// protocol. Maximum length is 2,048 bytes.
  • Button text — Optional button label, defaults to “详情”, and is truncated to four characters.
  • Enable ID translation — When enabled, converts user IDs in the message to mentions of the corresponding members.
  • Enable duplicate-message checking — When enabled, prevents repeated messages with the same content during the configured interval.
  • Duplicate-check interval — Interval in seconds for duplicate checking; defaults to 1,800 and accepts values from 0 to 14,400. Shown when duplicate checking is enabled.

Output shape

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

The operation sends a message through the configured WeCom credentials. The source pack provides only signature-level implementation details for this operation, so it does not establish a more specific response shape.

Links

Discussion