MOSystemNormalCellData.h 889 B

123456789101112131415161718192021222324252627
  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. + (id)objectOrNilForKey:(id)aKey fromDictionary:(NSDictionary *)dict;
  18. @end
  19. NS_ASSUME_NONNULL_END