发送小程序V2
POST
requireUrl/uploadImgUrlAndSendWebApp
接口描述
上传缩略图到CDN,并发送小程序
请求头
参数名
类型
描述
必填
Content-Type
String
application/json
必填
请求参数
参数名
类型
描述
必填
uin
Long
微信号唯一标识
必填
toUserName
String
消息接收者userName
必填
title
String
小程序标题
必填
url
String
小程序链接地址(将链接中的appid替换成相应小程序的appid,https://mp.weixin.qq.com/mp/waerrpage?appid=${appid}&type=upgrade&upgradetype=3#wechat_redirect)
必填
userName
String
小程序userName
必填
thumbUrl
String
小程序封面
可选
description
String
小程序描述
可选
type
Integer
小程序类型 33/36
可选
sourceUserName
String
小程序来源userName
可选
sourceDisplayName
String
小程序来源名称
可选
pagePath
String
小程序跳转页面地址
可选
webAppId
String
小程序webAppId
可选
appId
String
供应商的appId
必填