企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions257

群聊会话 → [消息发送] 发送文本消息

AI-generated

Summary

Send a text message to a specified WeCom group chat identified by its unique chat ID, optionally mentioning specific members and marking the message as confidential.

Inputs

  • 群聊 ID (required) — The unique identifier of the group chat to send the message to.
  • 消息内容 (required) — The text content of the message to send (max 2048 bytes). Supports newline characters expressed as \n.
  • @提醒成员 — Optionally mention specific group members by selecting from a dropdown list or by providing a UserID array or string. The first item "所有人" indicates mentioning all members.
  • 保密消息 — Optional flag to send the message as confidential, preventing forwarding or copying.

Output shape

a JSON object representing the API response from sending the message, containing status and message ID details.

The response shape follows the WeCom API send message response. No pagination involved. Errors are returned in the standard error format if the API call fails.

Links

Discussion