Skip to content

Commit b6eaceb

Browse files
committed
add 51 type
1 parent 8d0e593 commit b6eaceb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

wechatrobot/WeChatRobot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ def __init__(self, *args, **kwargs):
4242
def receive_callback(self , msg):
4343
type_dict = {
4444
0 : 'eventnotify', # 成员变更
45-
1009 : 'eventnotify', # 减少成员
46-
1010 : 'eventnotify', # 添加成员
4745
1 : 'text',
4846
3 : 'image',
4947
9 : 'scancashmoney', # 面对面付款
@@ -56,7 +54,10 @@ def receive_callback(self , msg):
5654
48 : 'location',
5755
49 : 'share',
5856
50 : 'voip',
57+
51 : 'phone',
5958
106 : 'sysnotify', # system notification 修改群名称
59+
1009 : 'eventnotify', # 减少成员
60+
1010 : 'eventnotify', # 添加成员
6061
2000 : 'transfer',
6162
2001 : 'redpacket',
6263
2002 : 'miniprogram',

0 commit comments

Comments
 (0)