1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00
MiraiGo/client/pb/pttcenter/shortvideo.pb.go
wdvxdr 3ff1fee1b6 client: remove some unused pb field
remove 64KiB from go-cqhttp.
2023-02-13 21:26:55 +08:00

107 lines
4.0 KiB
Go

// Code generated by protoc-gen-golite. DO NOT EDIT.
// source: pb/pttcenter/shortvideo.proto
package pttcenter
type ShortVideoReqBody struct {
Cmd int32 `protobuf:"varint,1,opt"`
Seq int32 `protobuf:"varint,2,opt"`
PttShortVideoUploadReq *ShortVideoUploadReq `protobuf:"bytes,3,opt"`
PttShortVideoDownloadReq *ShortVideoDownloadReq `protobuf:"bytes,4,opt"`
ExtensionReq []*ShortVideoExtensionReq `protobuf:"bytes,100,rep"`
}
type ShortVideoRspBody struct {
Cmd int32 `protobuf:"varint,1,opt"`
Seq int32 `protobuf:"varint,2,opt"`
PttShortVideoUploadRsp *ShortVideoUploadRsp `protobuf:"bytes,3,opt"`
PttShortVideoDownloadRsp *ShortVideoDownloadRsp `protobuf:"bytes,4,opt"`
_ [0]func()
}
type ShortVideoUploadReq struct {
FromUin int64 `protobuf:"varint,1,opt"`
ToUin int64 `protobuf:"varint,2,opt"`
ChatType int32 `protobuf:"varint,3,opt"`
ClientType int32 `protobuf:"varint,4,opt"`
Info *ShortVideoFileInfo `protobuf:"bytes,5,opt"`
GroupCode int64 `protobuf:"varint,6,opt"`
AgentType int32 `protobuf:"varint,7,opt"`
BusinessType int32 `protobuf:"varint,8,opt"`
SupportLargeSize int32 `protobuf:"varint,20,opt"`
_ [0]func()
}
type ShortVideoDownloadReq struct {
FromUin int64 `protobuf:"varint,1,opt"`
ToUin int64 `protobuf:"varint,2,opt"`
ChatType int32 `protobuf:"varint,3,opt"`
ClientType int32 `protobuf:"varint,4,opt"`
FileId string `protobuf:"bytes,5,opt"`
GroupCode int64 `protobuf:"varint,6,opt"`
AgentType int32 `protobuf:"varint,7,opt"`
FileMd5 []byte `protobuf:"bytes,8,opt"`
BusinessType int32 `protobuf:"varint,9,opt"`
FileType int32 `protobuf:"varint,10,opt"`
DownType int32 `protobuf:"varint,11,opt"`
SceneType int32 `protobuf:"varint,12,opt"`
}
type ShortVideoDownloadRsp struct {
RetCode int32 `protobuf:"varint,1,opt"`
RetMsg string `protobuf:"bytes,2,opt"`
// repeated ShortVideoIpList sameAreaOutAddr = 3;
// repeated ShortVideoIpList diffAreaOutAddr = 4;
DownloadKey []byte `protobuf:"bytes,5,opt"`
FileMd5 []byte `protobuf:"bytes,6,opt"`
// repeated ShortVideoIpList sameAreaInnerAddr = 7;
// repeated ShortVideoIpList diffAreaInnerAddr = 8;
DownloadAddr *ShortVideoAddr `protobuf:"bytes,9,opt"`
EncryptKey []byte `protobuf:"bytes,10,opt"`
}
type ShortVideoUploadRsp struct {
RetCode int32 `protobuf:"varint,1,opt"`
RetMsg string `protobuf:"bytes,2,opt"`
// repeated ShortVideoIpList sameAreaOutAddr = 3;
// repeated ShortVideoIpList diffAreaOutAddr = 4;
FileId string `protobuf:"bytes,5,opt"`
UKey []byte `protobuf:"bytes,6,opt"`
FileExists int32 `protobuf:"varint,7,opt"`
}
type ShortVideoFileInfo struct {
FileName string `protobuf:"bytes,1,opt"`
FileMd5 []byte `protobuf:"bytes,2,opt"`
ThumbFileMd5 []byte `protobuf:"bytes,3,opt"`
FileSize int64 `protobuf:"varint,4,opt"`
FileResLength int32 `protobuf:"varint,5,opt"`
FileResWidth int32 `protobuf:"varint,6,opt"`
FileFormat int32 `protobuf:"varint,7,opt"`
FileTime int32 `protobuf:"varint,8,opt"`
ThumbFileSize int64 `protobuf:"varint,9,opt"`
}
type DataHole struct {
Begin int64 `protobuf:"varint,1,opt"`
End int64 `protobuf:"varint,2,opt"`
_ [0]func()
}
type ShortVideoIpList struct {
Ip int32 `protobuf:"varint,1,opt"`
Port int32 `protobuf:"varint,2,opt"`
_ [0]func()
}
type ShortVideoAddr struct {
Host []string `protobuf:"bytes,10,rep"`
UrlArgs string `protobuf:"bytes,11,opt"` //repeated string domain = 13;
}
type ShortVideoExtensionReq struct {
SubBusiType int32 `protobuf:"varint,1,opt"`
UserCnt int32 `protobuf:"varint,2,opt"`
_ [0]func()
}