企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

群聊会话 → [消息发送] 发送语音消息

AI-generated

Summary

Sends a voice message to a specified WeCom application chat.

Inputs

  • chatid (required) — 群聊的唯一标识,必须是该应用所创建的群。
  • media_id (required) — 语音文件ID,可以调用上传临时素材接口获取。

Output shape

a single record

Returns a standard WeCom API response object indicating success or failure.

Examples

Example 1: Send a voice message to a group chat using a pre-uploaded media ID.

Set chatid to the group chat ID (e.g., 'mychat001') and media_id to the ID of the voice file.

Links

Discussion