WeChat.CustomMessage.send_music
You're seeing just the function
send_music
, go back to WeChat.CustomMessage module for more information.
Link to this function
send_music(client, openid, map)
Specs
send_music(WeChat.client(), WeChat.openid(), map()) :: WeChat.response()
客服消息接口 - 发送音乐消息 - 官方文档
Example
WeChat.CustomMessage.send_music(client, openid, {
title: "MUSIC_TITLE",
description: "MUSIC_DESCRIPTION",
musicurl: "MUSIC_URL",
hqmusicurl: "HQ_MUSIC_URL",
thumb_media_id: "THUMB_MEDIA_ID"
})