How to determine whether users share an article to Wechat's moments? is there any api?

you need to do a function that can reward gold coins by sharing in moments, so how to make sure that users share in Wechat"s moments? Is there any api I can call?

Apr.27,2021

Wechat JS-SDK
get the click status of the "share to moments" button and customize the sharing content API (about to be discarded)

wx.onMenuShareTimeline({
    title: '', // 
    link: '', // JS
    imgUrl: '', // 
    success: function () {
    // 
},

get the click status of the "share with friends" button and customize the sharing content interface (about to be discarded)

wx.onMenuShareAppMessage({
title: '', // 
desc: '', // 
link: '', // JS
imgUrl: '', // 
type: '', // ,musicvideolinklink
dataUrl: '', // typemusicvideo
success: function () {
// 
}
});

Resources: https://mp.weixin.qq.com/wiki.

Menu