github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/msg/report.proto (about) 1 syntax = "proto2"; 2 3 option go_package = "github.com/Mrs4s/MiraiGo/client/pb/msg"; 4 5 message PbMsgReadedReportReq { 6 repeated PbGroupReadedReportReq grpReadReport = 1; 7 repeated PbDiscussReadedReportReq disReadReport = 2; 8 optional PbC2CReadedReportReq c2CReadReport = 3; 9 //optional PbBindUinMsgReadedConfirmReq bindUinReadReport = 4; 10 } 11 12 message PbMsgReadedReportResp { 13 repeated PbGroupReadedReportResp grpReadReport = 1; 14 repeated PbDiscussReadedReportResp disReadReport = 2; 15 optional PbC2CReadedReportResp c2CReadReport = 3; 16 //optional PbBindUinMsgReadedConfirmResp bindUinReadReport = 4; 17 } 18 19 message PbGroupReadedReportReq { 20 optional uint64 groupCode = 1; 21 optional uint64 lastReadSeq = 2; 22 } 23 24 message PbDiscussReadedReportReq { 25 optional uint64 confUin = 1; 26 optional uint64 lastReadSeq = 2; 27 } 28 29 message PbC2CReadedReportReq { 30 optional bytes syncCookie = 1; 31 repeated UinPairReadInfo pairInfo = 2; 32 } 33 34 message UinPairReadInfo { 35 optional uint64 peerUin = 1; 36 optional uint32 lastReadTime = 2; 37 optional bytes crmSig = 3; 38 optional uint32 peerType = 4; 39 optional uint32 chatType = 5; 40 optional uint64 cpid = 6; 41 optional uint32 aioType = 7; 42 optional uint64 toTinyId = 9; 43 } 44 45 message PbGroupReadedReportResp { 46 optional uint32 result = 1; 47 optional string errmsg = 2; 48 optional uint64 groupCode = 3; 49 optional uint64 memberSeq = 4; 50 optional uint64 groupMsgSeq = 5; 51 } 52 53 message PbDiscussReadedReportResp { 54 optional uint32 result = 1; 55 optional string errmsg = 2; 56 optional uint64 confUin = 3; 57 optional uint64 memberSeq = 4; 58 optional uint64 confSeq = 5; 59 } 60 61 message PbC2CReadedReportResp { 62 optional uint32 result = 1; 63 optional string errmsg = 2; 64 optional bytes syncCookie = 3; 65 }