github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/message/action.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/message/action.proto 3 4 package message 5 6 import ( 7 proto "github.com/RomiChan/protobuf/proto" 8 ) 9 10 type LongMsgResult struct { 11 Action *LongMsgAction `protobuf:"bytes,2,opt"` 12 _ [0]func() 13 } 14 15 type LongMsgAction struct { 16 ActionCommand string `protobuf:"bytes,1,opt"` 17 ActionData *LongMsgContent `protobuf:"bytes,2,opt"` 18 _ [0]func() 19 } 20 21 type LongMsgContent struct { 22 MsgBody []*PushMsgBody `protobuf:"bytes,1,rep"` 23 } 24 25 // trpc.group.long_msg_interface.MsgService.SsoRecvLongMsg Request 26 type RecvLongMsgReq struct { 27 Info *RecvLongMsgInfo `protobuf:"bytes,1,opt"` 28 Settings *LongMsgSettings `protobuf:"bytes,15,opt"` 29 _ [0]func() 30 } 31 32 type RecvLongMsgInfo struct { 33 Uid *LongMsgUid `protobuf:"bytes,1,opt"` 34 ResId proto.Option[string] `protobuf:"bytes,2,opt"` 35 Acquire bool `protobuf:"varint,3,opt"` 36 _ [0]func() 37 } 38 39 type LongMsgUid struct { 40 Uid proto.Option[string] `protobuf:"bytes,2,opt"` 41 _ [0]func() 42 } 43 44 type LongMsgSettings struct { 45 Field1 uint32 `protobuf:"varint,1,opt"` // 4 46 Field2 uint32 `protobuf:"varint,2,opt"` // 1 47 Field3 uint32 `protobuf:"varint,3,opt"` // 7 48 Field4 uint32 `protobuf:"varint,4,opt"` // 0 49 _ [0]func() 50 } 51 52 type RecvLongMsgResp struct { 53 Result *RecvLongMsgResult `protobuf:"bytes,1,opt"` 54 Settings *LongMsgSettings `protobuf:"bytes,15,opt"` 55 _ [0]func() 56 } 57 58 type RecvLongMsgResult struct { 59 ResId string `protobuf:"bytes,3,opt"` 60 Payload []byte `protobuf:"bytes,4,opt"` 61 } 62 63 type SendLongMsgReq struct { 64 Info *SendLongMsgInfo `protobuf:"bytes,2,opt"` 65 Settings *LongMsgSettings `protobuf:"bytes,15,opt"` 66 _ [0]func() 67 } 68 69 type SendLongMsgInfo struct { 70 Type uint32 `protobuf:"varint,1,opt"` // Group: 3, Friend: 1 71 Uid *LongMsgUid `protobuf:"bytes,2,opt"` 72 GroupUin proto.Option[uint32] `protobuf:"varint,3,opt"` 73 Payload []byte `protobuf:"bytes,4,opt"` 74 } 75 76 type SendLongMsgResp struct { 77 Result *SendLongMsgResult `protobuf:"bytes,2,opt"` 78 Settings *LongMsgSettings `protobuf:"bytes,15,opt"` 79 _ [0]func() 80 } 81 82 type SendLongMsgResult struct { 83 ResId string `protobuf:"bytes,3,opt"` 84 _ [0]func() 85 } 86 87 type SsoGetGroupMsg struct { 88 Info *SsoGetGroupMsgInfo `protobuf:"bytes,1,opt"` 89 Direction bool `protobuf:"varint,2,opt"` 90 _ [0]func() 91 } 92 93 type SsoGetGroupMsgInfo struct { 94 GroupUin uint32 `protobuf:"varint,1,opt"` 95 StartSequence uint32 `protobuf:"varint,2,opt"` 96 EndSequence uint32 `protobuf:"varint,3,opt"` 97 _ [0]func() 98 } 99 100 type SsoGetGroupMsgResponse struct { 101 Body *SsoGetGroupMsgResponseBody `protobuf:"bytes,3,opt"` 102 _ [0]func() 103 } 104 105 type SsoGetGroupMsgResponseBody struct { 106 GroupUin uint32 `protobuf:"varint,3,opt"` 107 StartSequence uint32 `protobuf:"varint,4,opt"` 108 EndSequence uint32 `protobuf:"varint,5,opt"` 109 Messages []*PushMsgBody `protobuf:"bytes,6,rep"` 110 } 111 112 type SsoGetRoamMsg struct { 113 FriendUid proto.Option[string] `protobuf:"bytes,1,opt"` 114 Time uint32 `protobuf:"varint,2,opt"` 115 Random uint32 `protobuf:"varint,3,opt"` // 0 116 Count uint32 `protobuf:"varint,4,opt"` 117 Direction bool `protobuf:"varint,5,opt"` // true 118 _ [0]func() 119 } 120 121 type SsoGetRoamMsgResponse struct { 122 FriendUid string `protobuf:"bytes,3,opt"` 123 Timestamp uint32 `protobuf:"varint,5,opt"` 124 Random uint32 `protobuf:"varint,6,opt"` 125 Messages []*PushMsgBody `protobuf:"bytes,7,rep"` 126 }