github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/service/oidb/NTV2RichMediaResp.proto (about) 1 syntax = "proto3"; 2 3 option go_package = "github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb"; 4 5 import "pb/service/oidb/NTV2RichMediaReq.proto"; 6 7 message NTV2RichMediaResp { 8 MultiMediaRespHead RespHead = 1; 9 UploadResp Upload = 2; 10 DownloadResp Download = 3; 11 DownloadRKeyResp DownloadRKey = 4; 12 DeleteResp Delete = 5; 13 UploadCompletedResp UploadCompleted = 6; 14 MsgInfoAuthResp MsgInfoAuth = 7; 15 UploadKeyRenewalResp UploadKeyRenewal = 8; 16 DownloadSafeResp DownloadSafe = 9; 17 optional bytes Extension = 99; 18 } 19 20 message MultiMediaRespHead { 21 CommonHead Common = 1; 22 uint32 RetCode = 2; 23 string Message = 3; 24 } 25 26 message DownloadResp { 27 string RKeyParam = 1; 28 uint32 RKeyTtlSecond = 2; 29 DownloadInfo Info = 3; 30 uint32 RKeyCreateTime = 4; 31 } 32 33 message DownloadInfo { 34 string Domain = 1; 35 string UrlPath = 2; 36 uint32 HttpsPort = 3; 37 repeated IPv4 IPv4s = 4; 38 repeated IPv6 IPv6s = 5; 39 PicUrlExtInfo PicUrlExtInfo = 6; 40 VideoExtInfo VideoExtInfo = 7; 41 } 42 43 message IPv4 { 44 uint32 OutIP = 1; 45 uint32 OutPort = 2; 46 uint32 InIP = 3; 47 uint32 InPort = 4; 48 uint32 IPType = 5; 49 } 50 51 message IPv6 { 52 bytes OutIP = 1; 53 uint32 OutPort = 2; 54 bytes InIP = 3; 55 uint32 InPort = 4; 56 uint32 IPType = 5; 57 } 58 59 message UploadResp { 60 optional string UKey = 1; 61 uint32 UKeyTtlSecond = 2; 62 repeated IPv4 IPv4s = 3; 63 repeated IPv6 IPv6s = 4; 64 uint64 MsgSeq = 5; 65 MsgInfo MsgInfo = 6; 66 repeated RichMediaStorageTransInfo Ext = 7; 67 bytes CompatQMsg = 8; 68 repeated SubFileInfo SubFileInfos = 10; 69 } 70 71 message RichMediaStorageTransInfo { 72 uint32 SubType = 1; 73 uint32 ExtType = 2; 74 bytes ExtValue = 3; 75 } 76 77 message SubFileInfo { 78 uint32 SubType = 1; 79 string UKey = 2; 80 uint32 UKeyTtlSecond = 3; 81 repeated IPv4 IPv4s = 4; 82 repeated IPv6 IPv6s = 5; 83 } 84 85 message DownloadSafeResp { 86 87 } 88 89 message UploadKeyRenewalResp { 90 string Ukey = 1; 91 uint64 UkeyTtlSec = 2; 92 } 93 94 message MsgInfoAuthResp { 95 uint32 AuthCode = 1; 96 bytes Msg = 2; 97 uint64 ResultTime = 3; 98 } 99 100 message UploadCompletedResp { 101 uint64 MsgSeq = 1; 102 } 103 104 message DeleteResp { 105 106 } 107 108 message DownloadRKeyResp { 109 repeated RKeyInfo RKeys = 1; 110 } 111 112 message RKeyInfo { 113 string Rkey = 1; 114 uint64 RkeyTtlSec = 2; 115 uint32 StoreId = 3; 116 optional uint32 RkeyCreateTime = 4; 117 optional uint32 Type = 5; 118 }