-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathcom.tencent.mobileqq_QQ_MessagingStyle.json
92 lines (92 loc) · 2.43 KB
/
com.tencent.mobileqq_QQ_MessagingStyle.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"version": "0.1.0",
"configs": {
"QQ-MessagingStyle": [
[
"cond",
[
"个人消息",
{
"name": "移除特别关心",
"metaInfo": {
"title": "^\\[特别关心\\](?<name>[\\s\\S]*)"
},
"newMetaInfo": {
"title": "${name}",
"extra": {
"__mi_push_conversation_important": ""
}
},
"stop": false
}
]
],
{
"metaInfo": {
"extra": {
"intent_uri": "S\\.fromuin=(?<id>\\d+)"
}
},
"newMetaInfo": {
"extra": {
"notification_large_icon_uri": "http://q.qlogo.cn/g?b=qq&s=100&nk=${id}",
"__mi_push_conversation_sender_icon": "http://q.qlogo.cn/g?b=qq&s=100&nk=${id}",
"__mi_push_conversation_sender_id": "${id}",
"__mi_push_conversation_icon": "http://q.qlogo.cn/g?b=qq&s=100&nk=${id}",
"__mi_push_conversation_id": "${id}"
}
},
"stop": false
},
{
"metaInfo": {
"extra": {
"intent_uri": "^(?!.*S\\.groupuin=).*S\\.groupcode=(?<id>\\d+)"
}
},
"newMetaInfo": {
"extra": {
"notification_large_icon_uri": "http://p.qlogo.cn/gh/${id}/${id}/100",
"__mi_push_conversation_icon": "http://p.qlogo.cn/gh/${id}/${id}/100",
"__mi_push_conversation_id": "${id}"
}
},
"stop": false
},
"通用消息内容解析",
"使用 Messaging Style",
[
"cond",
[
"群组消息",
{
"metaInfo": {
"description": "(?<name>.*?): \\s*(?<content>[\\s\\S]*)"
},
"newMetaInfo": {
"extra": {
"__mi_push_conversation_sender": "${name}",
"__mi_push_conversation_message": "${content}"
}
},
"stop": false
}
]
],
{
"name": "我的设备消息适配",
"metaInfo": {
"title": "QQ",
"description": "(?<device>^[^:]*):(?<content>.*)"
},
"newMetaInfo": {
"extra": {
"__mi_push_conversation_sender": "${device}",
"__mi_push_conversation_message": "${content}"
}
},
"stop": false
}
]
}
}