mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
30 lines
588 B
Protocol Buffer
30 lines
588 B
Protocol Buffer
syntax = "proto3";
|
|
package SysMsg;
|
|
|
|
message SystemMessage {
|
|
repeated SystemMessageHeader header = 1;
|
|
repeated SystemMessageMsgSpec msgSpec = 2;
|
|
SystemMessageBodyWrapper bodyWrapper = 3;
|
|
}
|
|
|
|
message SystemMessageHeader {
|
|
uint32 peerUin = 1;
|
|
//string peerUid = 2;
|
|
uint32 uin = 5;
|
|
optional string uid = 6;
|
|
}
|
|
|
|
message SystemMessageMsgSpec {
|
|
uint32 msgType = 1;
|
|
optional uint32 subType = 2;
|
|
optional uint32 subSubType = 3;
|
|
uint32 msgSeq = 5;
|
|
uint32 time = 6;
|
|
//uint64 msgId = 12;
|
|
optional uint32 other = 13;
|
|
}
|
|
|
|
message SystemMessageBodyWrapper {
|
|
bytes body = 2;
|
|
}
|