TUIBubbleMessageCellData.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Created by Tencent on 2023/06/09.
  2. // Copyright © 2023 Tencent. All rights reserved.
  3. /**
  4. *
  5. * - 本文件声明了 TUIBubbleMessageCellData 类。
  6. * - 本类继承于 TUIMessageCellData,用于存放气泡消息单元所需的一系列数据与信息。
  7. * - 本类作为气泡消息数据源的基类,当您想实现自定义的气泡消息时,也需使对应消息的数据源继承自本类。
  8. *
  9. * - This file declares the TUIBubbleMessageCellData class.
  10. * - This class inherits from TUIMessageCellData and is used to store a series of data and information required by the bubble message unit.
  11. * - This class is used as the base class for the data source of the bubble message. When you want to implement a custom bubble message,
  12. * you also need to make the data source of the corresponding message inherit from this class.
  13. *
  14. */
  15. #import "TUIMessageCellData.h"
  16. NS_ASSUME_NONNULL_BEGIN
  17. /**
  18. * 【模块名称】TUIBubbleMessageCellData
  19. * 【功能说明】气泡消息数据源。
  20. * - 气泡消息,即最常见的包含文本与表情字符的消息,大多数情况下将会是您最常见的消息类型。
  21. * - 气泡消息数据源(以下简称数据源),负责存储渲染气泡消息 UI 所需的各种信息。
  22. * - 数据源实现了一系列的业务逻辑,可以向气泡消息 UI 提供所需的信息。
  23. * - TUIFileMessageCellData 和 TUIVoiceMessageCellData 均继承于本类,实现了气泡消息的 UI。
  24. *
  25. * 【Module name】TUIBubbleMessageCellData
  26. * 【Function description】Bubble message data source.
  27. * - Bubble messages, the most common type of messages that contain text and emoji characters, will be your most common type of message in most cases.
  28. * - The Bubble Message data source (hereinafter referred to as the data source) is responsible for storing various information required to render the Bubble
  29. * Message UI.
  30. * - The data source implements a series of business logic that can provide the required information to the Bubble Message UI.
  31. * - Both TUIFileMessageCellData and TUIVoiceMessageCellData inherit from this class and implement the UI of bubble messages.
  32. */
  33. @interface TUIBubbleMessageCellData : TUIMessageCellData
  34. @end
  35. NS_ASSUME_NONNULL_END