This repository was archived by the owner on Oct 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Lagrange.Core/Message/Entity Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ public class ImageEntity : IMessageEntity
2626
2727 public string ImageUrl { get ; set ; } = string . Empty ;
2828
29+ public string ? ImageUuid { get ; set ; }
30+
2931 internal Lazy < Stream > ? ImageStream { get ; set ; }
30-
32+
3133 internal MsgInfo ? MsgInfo { get ; set ; }
3234
3335 internal NotOnlineImage ? CompatImage { get ; set ; }
@@ -104,6 +106,7 @@ IEnumerable<Elem> IMessageEntity.PackElement()
104106 SubType = ( int ) extra . ExtBizInfo . Pic . BizType ,
105107 IsGroup = extra . ExtBizInfo . Pic . BytesPbReserveTroop != null ,
106108 Summary = string . IsNullOrEmpty ( extra . ExtBizInfo . Pic . TextSummary ) ? "[图片]" : extra . ExtBizInfo . Pic . TextSummary ,
109+ ImageUuid = index . FileUuid
107110 } ;
108111 }
109112
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public class RecordEntity : IMessageEntity
2828
2929 internal Lazy < Stream > ? AudioStream { get ; set ; }
3030
31- internal string ? AudioUuid { get ; set ; }
31+ public string ? AudioUuid { get ; set ; }
3232
3333 internal string ? FileSha1 { get ; set ; }
3434
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public class VideoEntity : IMessageEntity
3232
3333 internal Lazy < Stream > ? ThumbnailStream { get ; set ; }
3434
35- internal string ? VideoUuid { get ; set ; }
35+ public string ? VideoUuid { get ; set ; }
3636
3737 internal MsgInfo ? MsgInfo { get ; set ; }
3838
You can’t perform that action at this time.
0 commit comments