1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00
This commit is contained in:
Mrs4s 2020-08-13 16:59:27 +08:00
parent 0fa5228d26
commit 8131c3c208
2 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ type ReplyElement struct {
}
type ShortVideoElement struct {
Name string
Uuid []byte
Size int32
Md5 []byte

View File

@ -428,6 +428,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement {
}
if elem.VideoFile != nil {
res = append(res, &ShortVideoElement{
Name: string(elem.VideoFile.FileName),
Uuid: elem.VideoFile.FileUuid,
Size: elem.VideoFile.FileSize,
Md5: elem.VideoFile.FileMd5,