Files
LLOneBot/src/ntqqapi/proto/systemMessage.proto
2024-10-15 20:22:39 +08:00

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;
}