QNMessageInfo.h 809 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // QNMessageInfo.h
  3. // QNRTCKit
  4. //
  5. // Created by lawder on 2019/1/18.
  6. // Copyright © 2019年 Pili Engineering, Qiniu Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface QNMessageInfo : NSObject
  11. /*!
  12. * @abstract 发送消息时传入的消息 id
  13. *
  14. * @since v4.0.0
  15. */
  16. @property (nonatomic, strong, readonly) NSString *identifier;
  17. /*!
  18. * @abstract 发送消息的用户的 userID
  19. *
  20. * @since v4.0.0
  21. */
  22. @property (nonatomic, strong, readonly) NSString *userID;
  23. /*!
  24. * @abstract 发送的消息内容
  25. *
  26. * @since v4.0.0
  27. */
  28. @property (nonatomic, strong, readonly) NSString *content;
  29. /*!
  30. * @abstract 服务器收到消息的时间戳
  31. *
  32. * @since v4.0.0
  33. */
  34. @property (nonatomic, strong, readonly) NSNumber *timestamp;
  35. @end
  36. NS_ASSUME_NONNULL_END