MOUserLinkCellData.h 801 B

12345678910111213141516171819202122232425262728
  1. //
  2. // MOUserLinkCellData.h
  3. // TUIChat
  4. //
  5. // Created by SuperC on 2025/10/13.
  6. //
  7. #import <TIMCommon/TUIBubbleMessageCellData.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface MOUserLinkCellData : TUIBubbleMessageCellData
  10. // type == 100 私聊, 标题, 内容, 链接
  11. @property(nonatomic, assign) NSInteger type;// 类型,非空
  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 *img;//
  16. @property(nonatomic, copy) NSString *linkStr;// content中链接对应的文案,可空,当类型(7,8)时非空
  17. - (CGSize)contentSize;
  18. @end
  19. NS_ASSUME_NONNULL_END