TUIReplyQuoteViewData.h 900 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // TUIReplyQuoteViewData.h
  3. // TUIChat
  4. //
  5. // Created by harvy on 2021/11/25.
  6. // Copyright © 2023 Tencent. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. #import "TUIChatDefine.h"
  11. @class TUIMessageCellData;
  12. NS_ASSUME_NONNULL_BEGIN
  13. @interface TUIReplyQuoteViewData : NSObject
  14. + (instancetype)getReplyQuoteViewData:(TUIMessageCellData *)originCellData;
  15. - (CGSize)contentSize:(CGFloat)maxWidth;
  16. /**
  17. * If you want to download the custom reply content asynchronously, you need to call the callback after the download is complete, and the TUI will be
  18. * automatically refreshed.
  19. */
  20. @property(nonatomic, copy) TUIReplyQuoteAsyncLoadFinish onFinish;
  21. @property(nonatomic, strong) TUIMessageCellData *originCellData;
  22. @property(nonatomic, assign) BOOL supportForReply;
  23. @property(nonatomic, assign) BOOL showRevokedOriginMessage;
  24. @end
  25. NS_ASSUME_NONNULL_END