MOSystemNormalCellData.h 1011 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // MOSystemNormalCellData.h
  3. // TUIConversation
  4. //
  5. // Created by SuperC on 2025/5/16.
  6. //
  7. #import <TIMCommon/TUIBubbleMessageCellData.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface MOSystemNormalCellData : TUIBubbleMessageCellData
  10. @property(nonatomic, assign) NSInteger type;// 类型,非空
  11. @property(nonatomic, copy) NSString *img;// 图片,可空,当类型(1,2,3,4)时非空
  12. @property(nonatomic, copy) NSString *title;// 标题,可空,当类型(1,2,5,7)时非空
  13. @property(nonatomic, copy) NSString *content;// 内容,非空
  14. @property(nonatomic, copy) NSString *link;// 链接,可空,当类型(1,4,5,6,7,8)时非空
  15. @property(nonatomic, copy) NSString *linkStr;// content中链接对应的文案,可空,当类型(7,8)时非空
  16. - (CGSize)contentSize;
  17. //显示图片
  18. - (BOOL)showPicture;
  19. //显示标题
  20. - (BOOL)showTitle;
  21. //显示底部detailsview
  22. - (BOOL)showDetailsView;
  23. + (id)objectOrNilForKey:(id)aKey fromDictionary:(NSDictionary *)dict;
  24. @end
  25. NS_ASSUME_NONNULL_END