mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
update.
This commit is contained in:
parent
0fa5228d26
commit
8131c3c208
@ -73,6 +73,7 @@ type ReplyElement struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ShortVideoElement struct {
|
type ShortVideoElement struct {
|
||||||
|
Name string
|
||||||
Uuid []byte
|
Uuid []byte
|
||||||
Size int32
|
Size int32
|
||||||
Md5 []byte
|
Md5 []byte
|
||||||
|
@ -428,6 +428,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement {
|
|||||||
}
|
}
|
||||||
if elem.VideoFile != nil {
|
if elem.VideoFile != nil {
|
||||||
res = append(res, &ShortVideoElement{
|
res = append(res, &ShortVideoElement{
|
||||||
|
Name: string(elem.VideoFile.FileName),
|
||||||
Uuid: elem.VideoFile.FileUuid,
|
Uuid: elem.VideoFile.FileUuid,
|
||||||
Size: elem.VideoFile.FileSize,
|
Size: elem.VideoFile.FileSize,
|
||||||
Md5: elem.VideoFile.FileMd5,
|
Md5: elem.VideoFile.FileMd5,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user