diff --git a/message/elements.go b/message/elements.go index 086fe43d..37c709e3 100644 --- a/message/elements.go +++ b/message/elements.go @@ -73,6 +73,7 @@ type ReplyElement struct { } type ShortVideoElement struct { + Name string Uuid []byte Size int32 Md5 []byte diff --git a/message/message.go b/message/message.go index 28536ffb..8ebe3b89 100644 --- a/message/message.go +++ b/message/message.go @@ -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,