github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/channel/msgpush.proto (about) 1 syntax = "proto2"; 2 3 package channel; 4 5 option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel"; 6 7 import "pb/channel/common.proto"; 8 9 message FocusInfo { 10 repeated uint64 channelIdList = 1; 11 } 12 13 message MsgOnlinePush { 14 repeated ChannelMsgContent msgs = 1; 15 optional uint32 generalFlag = 2; 16 optional uint32 needResp = 3; 17 optional bytes serverBuf = 4; 18 optional uint32 compressFlag = 5; 19 optional bytes compressMsg = 6; 20 optional FocusInfo focusInfo = 7; 21 optional uint32 hugeFlag = 8; 22 } 23 24 message MsgPushResp { 25 optional bytes serverBuf = 1; 26 } 27 28 message PressMsg { 29 repeated ChannelMsgContent msgs = 1; 30 } 31 32 message ServerBuf { 33 optional uint32 svrIp = 1; 34 optional uint32 svrPort = 2; 35 optional bytes echoKey = 3; 36 } 37 38