@@ -25,6 +25,8 @@ public interface IReadOnlyAttachment
2525 IList < Field > Fields { get ; }
2626 string ImageUrl { get ; }
2727 string ThumbUrl { get ; }
28+ int ? ThumbWidth { get ; }
29+ int ? ThumbHeight { get ; }
2830 string FromUrl { get ; }
2931 string Footer { get ; }
3032 string FooterIcon { get ; }
@@ -64,7 +66,10 @@ public class Attachment : IReadOnlyAttachment
6466 public IList < Field > Fields { get ; set ; } = new List < Field > ( ) ;
6567 public string ImageUrl { get ; set ; }
6668 public string ThumbUrl { get ; set ; }
69+ public int ? ThumbWidth { get ; set ; }
70+ public int ? ThumbHeight { get ; set ; }
6771 public string FromUrl { get ; set ; }
72+ public string OriginalUrl { get ; set ; }
6873 public string Footer { get ; set ; }
6974 public string FooterIcon { get ; set ; }
7075 public string Ts { get ; set ; }
@@ -78,6 +83,8 @@ public class Attachment : IReadOnlyAttachment
7883 public string ChannelName { get ; set ; }
7984 public bool ? IsShare { get ; set ; }
8085 public bool ? IsMsgUnfurl { get ; set ; }
86+ public string ServiceName { get ; set ; }
87+ public string ServiceIcon { get ; set ; }
8188}
8289
8390public class MessageBlock
@@ -88,7 +95,7 @@ public class MessageBlock
8895 public MessageBlocks Message { get ; set ; }
8996}
9097
91- public class MessageBlocks
98+ public class MessageBlocks
9299{
93100 public IList < Block > Blocks { get ; set ; }
94- }
101+ }
0 commit comments