@juzi/wechaty-puppet
Version:
Abstract Puppet for Wechaty
15 lines (13 loc) • 940 B
text/typescript
import type { FileBoxInterface } from 'file-box'
export interface MiniProgramPayload {
appid? : string, // optional, appid, get from wechat (mp.weixin.qq.com)
description? : string, // optional, mini program title
pagePath? : string, // optional, mini program page path
iconUrl? : string, // optional, mini program icon url
shareId? : string, // optional, the unique userId for who share this mini program
thumbUrl? : string, // optional, default picture, convert to thumbnail
title? : string, // optional, mini program title
username? : string, // original ID, get from wechat (mp.weixin.qq.com)
thumbKey? : string, // original, thumbnailurl and thumbkey will make the headphoto of mini-program better
thumbnailFileBox?: FileBoxInterface
}