def add_conditional(self, menu_data):
return self._post(<EOL>'<STR_LIT>',<EOL>data=menu_data<EOL>)<EOL>
创建个性化菜单 ::

    from wechatpy import WeChatClient

    client = WeChatClient("appid", "secret")
    client.menu.add_conditional({
        "button":[
            {
                "type":"click",
                "name":"今日歌曲",
                "key":"V1001_TODAY_MUSIC"
            },
            {
                "type":"click",
                "name":"歌手简介",
                "key":"V1001_TODAY_SINGER"
            },
            {
                "name":"菜单",
                "sub_button":[
                    {
                        "type":"view",
                        "name":"搜索",
                        "url":"http://www.soso.com/"
                    },
                    {
                        "type":"view",
                        "name":"视频",
                        "url":"http://v.qq.com/"
                    },
                    {
                        "type":"click",
                        "name":"赞一下我们",
                        "key":"V1001_GOOD"
                    }
                ]
            }
        ],
        "matchrule":{
          "group_id":"2",
          "sex":"1",
          "country":"中国",
          "province":"广东",
          "city":"广州",
          "client_platform_type":"2"
        }
    })

详情请参考
http://mp.weixin.qq.com/wiki/0/c48ccd12b69ae023159b4bfaa7c39c20.html

:param menu_data: Python 字典

:return: 返回的 JSON 数据包