朋友圈

This commit is contained in:
super_wang
2023-07-17 23:32:19 +08:00
parent 535bc1ceaa
commit 7275e1facf
3 changed files with 76 additions and 29 deletions
+14 -9
View File
@@ -22,6 +22,7 @@ enum Functions {
FUNC_EXEC_DB_QUERY = 0x50;
FUNC_ACCEPT_FRIEND = 0x51;
FUNC_RECV_TRANSFER = 0x52;
FUNC_REFRESH_PYQ = 0x53;
FUNC_DECRYPT_IMAGE = 0x60;
FUNC_ADD_ROOM_MEMBERS = 0x70;
FUNC_DEL_ROOM_MEMBERS = 0x71;
@@ -42,6 +43,8 @@ message Request
XmlMsg xml = 9;
DecPath dec = 10;
Transfer tf = 11;
uint64 ui64 = 12; // 64 位整数,通用
bool flag = 13;
}
}
@@ -68,14 +71,16 @@ message WxMsg
{
bool is_self = 1; // 是否自己发送的
bool is_group = 2; // 是否群消息
int32 type = 3; // 消息类型
string id = 4; // 消息 id
string xml = 5; // 消息 xml
string sender = 6; // 消息发送者
string roomid = 7; // 群 id(如果是群消息的话)
string content = 8; // 消息内容
string thumb = 9; // 缩略图
string extra = 10; // 附加内容
uint64 id = 3; // 消息 id
uint32 type = 4; // 消息类型
uint32 ts = 5; // 消息类型
string roomid = 6; // 群 id(如果是群消息的话)
string content = 7; // 消息内容
string sender = 8; // 消息发送者
string sign = 9; // Sign
string thumb = 10; // 缩略图
string extra = 11; // 附加内容
string xml = 12; // 消息 xml
}
message TextMsg
@@ -170,4 +175,4 @@ message Transfer
string wxid = 1; // 转账人
string tfid = 2; // 转账id transferid
string taid = 3; // Transaction id
}
}