企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

消息推送 → [媒体文件] 上传媒体文件

AI-generated

Summary

Uploads an incoming binary file to WeCom as media and returns the upload response, including the media identifier for later use.

Inputs

  • 文件类型 (mediaType) (required) — Choose 普通文件 (file; up to 20 MB) or 语音文件 (voice; up to 2 MB and 60 seconds, AMR format only).
  • 二进制属性 (binaryProperty) (required) — Name of the incoming item's binary property containing the file; defaults to data.

Output shape

One output item per input item, containing the WeCom upload response as JSON.

Uses the configured WeCom credentials. The source pack shows a multipart media upload; the API response includes the uploaded media details.

Links

Discussion