企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

素材管理 → [素材管理] 异步上传临时素材

AI-generated

Summary

Start an asynchronous upload of a remotely hosted video or file as temporary WeCom material for the customer group welcome-message scenario. WeCom validates the file during asynchronous processing; the upload request returns its response, which can be used with the upload-result operation to check processing status.

Inputs

  • scene (required) — Scenario value. The only available choice is 1, customer group welcome-message material.
  • type (required) — Material type: video (MP4) or file. The UI describes a 200 MB limit; the remote file must be larger than 5 bytes and no more than 200 MB.
  • filename (required) — Display name, up to 128 bytes. Video filenames should end in .mp4.
  • url (required) — Publicly accessible HTTP(S) CDN URL, up to 1024 bytes, that supports Range downloads. Tencent Cloud COS URLs must allow public read access.
  • md5 (required) — 32-character hexadecimal MD5 digest of the remote file, used by WeCom to verify the downloaded content.

Output shape

A single API response record for each input item.

The operation starts asynchronous processing; it does not wait for that processing to finish. Use the upload-result operation to check the result.

Links

Discussion