WeChat.CustomMessage.send_news
You're seeing just the function
send_news
, go back to WeChat.CustomMessage module for more information.
Link to this function
send_news(client, openid, article)
Specs
send_news(WeChat.client(), WeChat.openid(), article :: map()) :: WeChat.response()
客服消息接口 - 发送图文消息(点击跳转到外链) - 官方文档
Link to this function
send_news(client, openid, title, description, url, pic_url)
Specs
send_news( WeChat.client(), WeChat.openid(), title(), description(), url(), pic_url() ) :: WeChat.response()
客服消息接口 - 发送图文消息(点击跳转到外链) - 官方文档
Example
WeChat.CustomMessage.send_news(client, openid, {
title: "Happy Day",
description: "Is Really A Happy Day",
url: "URL",
picurl: "PIC_URL"
})