TUIFileMessageCell.h 932 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Created by Tencent on 2023/06/09.
  2. // Copyright © 2023 Tencent. All rights reserved.
  3. #import <TIMCommon/TUIBubbleMessageCell.h>
  4. #import <TIMCommon/TUIMessageCell.h>
  5. #import "TUIFileMessageCellData.h"
  6. @interface TUIFileMessageCell : TUIMessageCell
  7. /**
  8. * File bubble view, used to wrap messages on the UI
  9. */
  10. @property(nonatomic, strong) UIImageView *bubble;
  11. /**
  12. * Label for displaying filename
  13. * As the main label of the file message, it displays the file information (including the suffix).
  14. */
  15. @property(nonatomic, strong) UILabel *fileName;
  16. /**
  17. * Label for displaying file size
  18. * As the secondary label of the file message, it further displays the secondary information of the file.
  19. */
  20. @property(nonatomic, strong) UILabel *length;
  21. /**
  22. * File icon
  23. */
  24. @property(nonatomic, strong) UIImageView *image;
  25. @property TUIFileMessageCellData *fileData;
  26. - (void)fillWithData:(TUIFileMessageCellData *)data;
  27. @end