Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小程序订阅消息发送接口增加新参数:mniprogram_state 和 lang #1406

Closed
binarywang opened this issue Feb 24, 2020 · 2 comments
Closed

Comments

@binarywang
Copy link
Owner

https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html

属性 类型 默认值 必填 说明
access_token string   接口调用凭证
touser string   接收者(用户)的 openid
template_id string   所需下发的订阅模板id
page string   点击模板卡片后的跳转页面,仅限本小程序内的页面。支持带参数,(示例index?foo=bar)。该字段不填则模板无跳转。
data Object   模板内容,格式形如 { "key1": { "value": any }, "key2": { "value": any } }
miniprogram_state string   跳转小程序类型:developer为开发版;trial为体验版;formal为正式版;默认为正式版
lang string   进入小程序查看”的语言类型,支持zh_CN(简体中文)、en_US(英文)、zh_HK(繁体中文)、zh_TW(繁体中文),默认为zh_CN
@binarywang binarywang changed the title 小程序订阅消息发送接口增加新参数:mniprogram_state 小程序订阅消息发送接口增加新参数:mniprogram_state 和 lang Feb 24, 2020
@hrwhat
Copy link

hrwhat commented Feb 25, 2020

多谢~

@binarywang
Copy link
Owner Author

最新正式版3.7.0已增加这两个参数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants