/// <summary> /// 创建个性化菜单 /// </summary> /// <param name="rule"></param> /// <param name="buttons"></param> /// <returns></returns> public CreateConditionalMenuResult CreateConditionalMenu(Matchrule rule, params Button[] buttons) { var data = new { button = buttons, matchrule = rule }; return(PostJson <CreateConditionalMenuResult>("/cgi-bin/menu/addconditional", data)); }
public ConditionalRootMenu() { matchrule = new Matchrule(); }