github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/service/oidb/NTV2RichMediaReq.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/service/oidb/NTV2RichMediaReq.proto 3 4 package oidb 5 6 type NTV2RichMediaReq struct { 7 ReqHead *MultiMediaReqHead `protobuf:"bytes,1,opt"` 8 Upload *UploadReq `protobuf:"bytes,2,opt"` 9 Download *DownloadReq `protobuf:"bytes,3,opt"` 10 DownloadRKey *DownloadRKeyReq `protobuf:"bytes,4,opt"` 11 Delete *DeleteReq `protobuf:"bytes,5,opt"` 12 UploadCompleted *UploadCompletedReq `protobuf:"bytes,6,opt"` 13 MsgInfoAuth *MsgInfoAuthReq `protobuf:"bytes,7,opt"` 14 UploadKeyRenewal *UploadKeyRenewalReq `protobuf:"bytes,8,opt"` 15 DownloadSafe *DownloadSafeReq `protobuf:"bytes,9,opt"` 16 Extension []byte `protobuf:"bytes,99,opt"` 17 } 18 19 type MultiMediaReqHead struct { 20 Common *CommonHead `protobuf:"bytes,1,opt"` 21 Scene *SceneInfo `protobuf:"bytes,2,opt"` 22 Client *ClientMeta `protobuf:"bytes,3,opt"` 23 _ [0]func() 24 } 25 26 type CommonHead struct { 27 RequestId uint32 `protobuf:"varint,1,opt"` // 1 28 Command uint32 `protobuf:"varint,2,opt"` // 200 29 _ [0]func() 30 } 31 32 type SceneInfo struct { 33 RequestType uint32 `protobuf:"varint,101,opt"` // 1 34 BusinessType uint32 `protobuf:"varint,102,opt"` // 3 35 SceneType uint32 `protobuf:"varint,200,opt"` // 1 36 C2C *C2CUserInfo `protobuf:"bytes,201,opt"` 37 Group *NTGroupInfo `protobuf:"bytes,202,opt"` 38 _ [0]func() 39 } 40 41 type C2CUserInfo struct { 42 AccountType uint32 `protobuf:"varint,1,opt"` // 2 43 TargetUid string `protobuf:"bytes,2,opt"` 44 _ [0]func() 45 } 46 47 type NTGroupInfo struct { 48 GroupUin uint32 `protobuf:"varint,1,opt"` 49 _ [0]func() 50 } 51 52 type ClientMeta struct { 53 AgentType uint32 `protobuf:"varint,1,opt"` // 2 54 _ [0]func() 55 } 56 57 type DownloadReq struct { 58 Node *IndexNode `protobuf:"bytes,1,opt"` 59 Download *DownloadExt `protobuf:"bytes,2,opt"` 60 _ [0]func() 61 } 62 63 type IndexNode struct { 64 Info *FileInfo `protobuf:"bytes,1,opt"` 65 FileUuid string `protobuf:"bytes,2,opt"` 66 StoreId uint32 `protobuf:"varint,3,opt"` // 0旧服务器 1为nt服务器 67 UploadTime uint32 `protobuf:"varint,4,opt"` // 0 68 Ttl uint32 `protobuf:"varint,5,opt"` // 0 69 SubType uint32 `protobuf:"varint,6,opt"` // 0 70 _ [0]func() 71 } 72 73 type FileInfo struct { 74 FileSize uint32 `protobuf:"varint,1,opt"` // 0 75 FileHash string `protobuf:"bytes,2,opt"` 76 FileSha1 string `protobuf:"bytes,3,opt"` // "" 77 FileName string `protobuf:"bytes,4,opt"` 78 Type *FileType `protobuf:"bytes,5,opt"` 79 Width uint32 `protobuf:"varint,6,opt"` // 0 80 Height uint32 `protobuf:"varint,7,opt"` // 0 81 Time uint32 `protobuf:"varint,8,opt"` // 2 82 Original uint32 `protobuf:"varint,9,opt"` // 0 83 _ [0]func() 84 } 85 86 type FileType struct { 87 Type uint32 `protobuf:"varint,1,opt"` // 2 88 PicFormat uint32 `protobuf:"varint,2,opt"` // 0 89 VideoFormat uint32 `protobuf:"varint,3,opt"` // 0 90 VoiceFormat uint32 `protobuf:"varint,4,opt"` // 1 91 _ [0]func() 92 } 93 94 type DownloadExt struct { 95 Pic *PicDownloadExt `protobuf:"bytes,1,opt"` 96 Video *VideoDownloadExt `protobuf:"bytes,2,opt"` 97 Ptt *PttDownloadExt `protobuf:"bytes,3,opt"` 98 _ [0]func() 99 } 100 101 type VideoDownloadExt struct { 102 BusiType uint32 `protobuf:"varint,1,opt"` // 0 103 SceneType uint32 `protobuf:"varint,2,opt"` // 0 104 SubBusiType uint32 `protobuf:"varint,3,opt"` // 0 105 _ [0]func() 106 } 107 108 type PicDownloadExt struct { 109 _ [0]func() 110 } 111 112 type PttDownloadExt struct { 113 _ [0]func() 114 } 115 116 type PicUrlExtInfo struct { 117 OriginalParameter string `protobuf:"bytes,1,opt"` 118 BigParameter string `protobuf:"bytes,2,opt"` 119 ThumbParameter string `protobuf:"bytes,3,opt"` 120 _ [0]func() 121 } 122 123 type VideoExtInfo struct { 124 VideoCodecFormat uint32 `protobuf:"varint,1,opt"` 125 _ [0]func() 126 } 127 128 type MsgInfo struct { 129 MsgInfoBody []*MsgInfoBody `protobuf:"bytes,1,rep"` 130 ExtBizInfo *ExtBizInfo `protobuf:"bytes,2,opt"` 131 } 132 133 type MsgInfoBody struct { 134 Index *IndexNode `protobuf:"bytes,1,opt"` 135 Picture *PictureInfo `protobuf:"bytes,2,opt"` 136 Video *VideoInfo `protobuf:"bytes,3,opt"` 137 Audio *AudioInfo `protobuf:"bytes,4,opt"` 138 FileExist bool `protobuf:"varint,5,opt"` 139 HashSum []byte `protobuf:"bytes,6,opt"` 140 } 141 142 type VideoInfo struct { 143 _ [0]func() 144 } 145 146 type AudioInfo struct { 147 _ [0]func() 148 } 149 150 type PictureInfo struct { 151 UrlPath string `protobuf:"bytes,1,opt"` 152 Ext *PicUrlExtInfo `protobuf:"bytes,2,opt"` 153 Domain string `protobuf:"bytes,3,opt"` 154 _ [0]func() 155 } 156 157 type ExtBizInfo struct { 158 Pic *PicExtBizInfo `protobuf:"bytes,1,opt"` 159 Video *VideoExtBizInfo `protobuf:"bytes,2,opt"` 160 Ptt *PttExtBizInfo `protobuf:"bytes,3,opt"` 161 BusiType uint32 `protobuf:"varint,10,opt"` 162 _ [0]func() 163 } 164 165 type PttExtBizInfo struct { 166 SrcUin uint64 `protobuf:"varint,1,opt"` 167 PttScene uint32 `protobuf:"varint,2,opt"` 168 PttType uint32 `protobuf:"varint,3,opt"` 169 ChangeVoice uint32 `protobuf:"varint,4,opt"` 170 Waveform []byte `protobuf:"bytes,5,opt"` 171 AutoConvertText uint32 `protobuf:"varint,6,opt"` 172 BytesReserve []byte `protobuf:"bytes,11,opt"` 173 BytesPbReserve []byte `protobuf:"bytes,12,opt"` 174 BytesGeneralFlags []byte `protobuf:"bytes,13,opt"` 175 } 176 177 type VideoExtBizInfo struct { 178 FromScene uint32 `protobuf:"varint,1,opt"` 179 ToScene uint32 `protobuf:"varint,2,opt"` 180 BytesPbReserve []byte `protobuf:"bytes,3,opt"` 181 } 182 183 type PicExtBizInfo struct { 184 BizType uint32 `protobuf:"varint,1,opt"` 185 TextSummary string `protobuf:"bytes,2,opt"` 186 BytesPbReserveC2C []byte `protobuf:"bytes,11,opt"` 187 BytesPbReserveTroop []byte `protobuf:"bytes,12,opt"` 188 FromScene uint32 `protobuf:"varint,1001,opt"` 189 ToScene uint32 `protobuf:"varint,1002,opt"` 190 OldFileId uint32 `protobuf:"varint,1003,opt"` 191 } 192 193 type DownloadSafeReq struct { 194 Index *IndexNode `protobuf:"bytes,1,opt"` 195 _ [0]func() 196 } 197 198 type UploadKeyRenewalReq struct { 199 OldUKey string `protobuf:"bytes,1,opt"` 200 SubType uint32 `protobuf:"varint,2,opt"` 201 _ [0]func() 202 } 203 204 type MsgInfoAuthReq struct { 205 Msg []byte `protobuf:"bytes,1,opt"` 206 AuthTime uint64 `protobuf:"varint,2,opt"` 207 } 208 209 type UploadCompletedReq struct { 210 SrvSendMsg bool `protobuf:"varint,1,opt"` 211 ClientRandomId uint64 `protobuf:"varint,2,opt"` 212 MsgInfo *MsgInfo `protobuf:"bytes,3,opt"` 213 ClientSeq uint32 `protobuf:"varint,4,opt"` 214 _ [0]func() 215 } 216 217 type DeleteReq struct { 218 Index []*IndexNode `protobuf:"bytes,1,rep"` 219 NeedRecallMsg bool `protobuf:"varint,2,opt"` 220 MsgSeq uint64 `protobuf:"varint,3,opt"` 221 MsgRandom uint64 `protobuf:"varint,4,opt"` 222 MsgTime uint64 `protobuf:"varint,5,opt"` 223 } 224 225 type DownloadRKeyReq struct { 226 Types []int32 `protobuf:"varint,1,rep"` 227 } 228 229 type UploadInfo struct { 230 FileInfo *FileInfo `protobuf:"bytes,1,opt"` 231 SubFileType uint32 `protobuf:"varint,2,opt"` 232 _ [0]func() 233 } 234 235 type UploadReq struct { 236 UploadInfo []*UploadInfo `protobuf:"bytes,1,rep"` 237 TryFastUploadCompleted bool `protobuf:"varint,2,opt"` 238 SrvSendMsg bool `protobuf:"varint,3,opt"` 239 ClientRandomId uint64 `protobuf:"varint,4,opt"` 240 CompatQMsgSceneType uint32 `protobuf:"varint,5,opt"` 241 ExtBizInfo *ExtBizInfo `protobuf:"bytes,6,opt"` 242 ClientSeq uint32 `protobuf:"varint,7,opt"` 243 NoNeedCompatMsg bool `protobuf:"varint,8,opt"` 244 }