From 3b2d1d93aa4c111872a967fb60323a7c8b4db180 Mon Sep 17 00:00:00 2001 From: NickWang Date: Thu, 23 Jun 2022 18:07:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20fit=20messagetype=20e?= =?UTF-8?q?num=20with=20puppet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/wechaty/puppet/message.proto | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/proto/wechaty/puppet/message.proto b/proto/wechaty/puppet/message.proto index 078aea9..973b36d 100644 --- a/proto/wechaty/puppet/message.proto +++ b/proto/wechaty/puppet/message.proto @@ -27,18 +27,21 @@ enum MessageType { MESSAGE_TYPE_ATTACHMENT = 1; MESSAGE_TYPE_AUDIO = 2; MESSAGE_TYPE_CONTACT = 3; - MESSAGE_TYPE_EMOTICON = 4; - MESSAGE_TYPE_IMAGE = 5; - MESSAGE_TYPE_TEXT = 6; - MESSAGE_TYPE_VIDEO = 7; - MESSAGE_TYPE_CHAT_HISTORY = 8; - MESSAGE_TYPE_LOCATION = 9; - MESSAGE_TYPE_MINI_PROGRAM = 10; + MESSAGE_TYPE_CHAT_HISTORY = 4; + MESSAGE_TYPE_EMOTCION = 5; + MESSAGE_TYPE_IMAGE = 6; + MESSAGE_TYPE_TEXT = 7; + MESSAGE_TYPE_LOCATION = 8; + MESSAGE_TYPE_MINI_PROGRAM = 9; + MESSAGE_TYPE_GROUP_NOTE = 10; MESSAGE_TYPE_TRANSFER = 11; MESSAGE_TYPE_RED_ENVELOPE = 12; MESSAGE_TYPE_RECALLED = 13; MESSAGE_TYPE_URL = 14; - MESSAGE_TYPE_CHANNEL = 15; + MESSAGE_TYPE_VIDEO = 15; + MESSAGE_TYPE_POST = 16; + MESSAGE_TYPE_CHANNEL = 17; + MESSAGE_TYPE_SYSTEM = 18; } message MessagePayloadRequest { From b583cfb14435f462949effeafa4b9c7621a0012b Mon Sep 17 00:00:00 2001 From: NickWang Date: Thu, 23 Jun 2022 18:07:13 +0800 Subject: [PATCH 2/2] 1.0.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index efb1066..6014893 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@juzi/wechaty-grpc", - "version": "1.0.3", + "version": "1.0.4", "description": "gRPC for Wechaty", "type": "module", "exports": {