coa-wx-isv
Version:
一个轻量的微信SDK服务商版 for Node.js
17 lines (16 loc) • 702 B
TypeScript
import { WxIsvServiceBase } from '../libs/WxIsvServiceBase';
export declare class WxIsvMenuService extends WxIsvServiceBase {
/**
* 公众号创建自定义菜单
* 详见 https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Creating_Custom-Defined_Menu.html
* @param accessToken 接口调用凭证
* @param button 菜单数组
*/
createMenu(accessToken: string, button: any[]): Promise<any>;
/**
* 公众号获取自定义菜单
* 详见 https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Querying_Custom_Menus.html
* @param accessToken 接口调用凭证
*/
getCurrentSelfMenuInfo(accessToken: string): Promise<any>;
}