Wechat OfficialAccount icon

Wechat OfficialAccount

Wechat OfficialAccount

Actions77

被动回复 → 音乐(Music)

AI-generated

Summary

Builds a WeChat passive music reply using the supplied recipient, account, and music details, then returns the reply as XML.

Inputs

  • ToUserName (required) — Recipient’s OpenID; defaults to the incoming message’s fromusername.
  • FromUserName (required) — Official account’s original ID; defaults to the incoming message’s tousername.
  • Title — Music title.
  • Description — Music description.
  • MusicUrl — Music URL.
  • HQMusicUrl — High-quality music URL, preferred in Wi-Fi environments.
  • ThumbMediaId — Thumbnail media ID obtained through WeChat’s material management interface.

Output shape

A single item containing the passive-reply XML.

The node sets CreateTime to the current Unix timestamp in seconds and MsgType to music. Music fields are optional in the UI.

Links

Discussion