{
    "ret":1,
    "apiver":9,
    "name":"酷Q正则消息处理样例",
    "version":"1.0.0",
    "version_id":1,
    "author":"Example",
    "description":"酷Q正则样例应用(V9应用机制)",
    "event":[
        {
            "id":1,
            "type":21,
            "name":"私聊消息处理",
            "function":"_eventPrivateMsg",
            "priority":30000,
            "regex":{
                "key":["qq","action"],
                "expression":["^(?<action>\\S{1,4}?)\\s*(?<qq>\\d{5,10})\\s*?$"]
            }
        },
        {
            "id":2,
            "type":2,
            "name":"群消息处理",
            "function":"_eventGroupMsg",
            "priority":30000,
            "regex":{
                "key":["qq","action"],
                "expression":["^(?<action>\\S{1,4}?)\\s*(?<qq>\\d{5,10})\\s*?$",
                         "^(?<action>\\S{1,4}?)\\s*\\[CQ:at,qq=(?<qq>\\d{5,10})]\\s*?$"]
            }
        },
        {
            "id":3,
            "type":4,
            "name":"讨论组消息处理",
            "function":"_eventDiscussMsg",
            "priority":30000,
            "regex":{
                "key":["qq","action"],
                "expression":["^(?<action>\\S{1,4}?)\\s*(?<qq>\\d{5,10})\\s*?$"]
            }
        },
        {
            "id":4,
            "type":11,
            "name":"群文件上传事件处理",
            "function":"_eventGroupUpload",
            "priority":30000
        },
        {
            "id":5,
            "type":101,
            "name":"群管理变动事件处理",
            "function":"_eventSystem_GroupAdmin",
            "priority":30000
        },
        {
            "id":6,
            "type":102,
            "name":"群成员减少事件处理",
            "function":"_eventSystem_GroupMemberDecrease",
            "priority":30000
        },
        {
            "id":7,
            "type":103,
            "name":"群成员增加事件处理",
            "function":"_eventSystem_GroupMemberIncrease",
            "priority":30000
        },
        {
            "id":10,
            "type":201,
            "name":"好友已添加事件处理",
            "function":"_eventFriend_Add",
            "priority":30000
        },
        {
            "id":8,
            "type":301,
            "name":"好友添加请求处理",
            "function":"_eventRequest_AddFriend",
            "priority":30000
        },
        {
            "id":9,
            "type":302,
            "name":"群添加请求处理",
            "function":"_eventRequest_AddGroup",
            "priority":30000
        },
        {
            "id":1001,
            "type":1001,
            "name":"酷Q启动事件",
            "priority":30000,
            "function":"_eventStartup"
        },
        {
            "id":1002,
            "type":1002,
            "name":"酷Q关闭事件",
            "priority":30000,
            "function":"_eventExit"
        },
        {
            "id":1003,
            "type":1003,
            "name":"应用已被启用",
            "priority":30000,
            "function":"_eventEnable"
        },
        {
            "id":1004,
            "type":1004,
            "name":"应用将被停用",
            "priority":30000,
            "function":"_eventDisable"
        }
    ],
    "menu":[
        {
            "name":"设置A",
            "function":"_menuA"
        },
        {
            "name":"设置B",
            "function":"_menuB"
        }
    ],
    "status":[

    ],
    "auth":[
        101,
        103,
        106,
        110,
        120,
        121,
        122,
        123,
        124,
        125,
        126,
        128,
        130,
        131,
        140,
        150,
        151
    ]
}