You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue you're experiencing with sending mini-program cards and H5 cards, except through the iPad protocol, likely stems from the specific wechaty-puppet you're using and the WeChat API's limitations. Not all puppet implementations support all features, which can lead to discrepancies in functionality like the one you're encountering.
For sending mini-program and H5 cards, ensure your code aligns with the Wechaty SDK's capabilities. Here's a quick guide:
Mini-Program Card:
constminiProgramPayload=newMiniProgram({username: 'gh_xxxxxxx',// from mp.weixin.qq.comappid: '',// optional, from mp.weixin.qq.comtitle: '',// optionalpagepath: '',// optionaldescription: '',// optionalthumbnailurl: '',// optional});awaitmsg.say(miniProgramPayload);
H5 Card:
constlinkPayload=newUrlLink({description: 'WeChat Bot SDK for Individual Account',thumbnailUrl: 'https://avatars0.githubusercontent.com/u/25162437?s=200&v=4',title: 'Welcome to Wechaty',url: 'https://github.com/wechaty/wechaty',});awaitmsg.say(linkPayload);
If issues persist, providing more details about the puppet you're using and any error messages could help diagnose the problem further.
如题
The text was updated successfully, but these errors were encountered: