Skip to content

Commit

Permalink
Merge pull request #4 from juzibot/feat-system-message
Browse files Browse the repository at this point in the history
Feat system message
  • Loading branch information
hcfw007 authored Jun 23, 2022
2 parents 4d5a2fe + b583cfb commit 5ac0e16
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juzi/wechaty-grpc",
"version": "1.0.3",
"version": "1.0.4",
"description": "gRPC for Wechaty",
"type": "module",
"exports": {
Expand Down
19 changes: 11 additions & 8 deletions proto/wechaty/puppet/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5ac0e16

Please sign in to comment.