EMMessageReactionOperation.h 911 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // EMMessageReactionOperation.h
  3. // HyphenateChat
  4. //
  5. // Created by 冯钊 on 2023/2/28.
  6. // Copyright © 2023 easemob.com. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. * \~chinese
  11. * reaction 操作种类。
  12. *
  13. * \~english
  14. * Operation type of reaction.
  15. */
  16. typedef NS_ENUM(NSUInteger, EMMessageReactionOperate) {
  17. EMMessageReactionOperateRemove = 0,
  18. EMMessageReactionOperateAdd,
  19. };
  20. NS_ASSUME_NONNULL_BEGIN
  21. @interface EMMessageReactionOperation : NSObject
  22. /**
  23. * \~chinese
  24. * 操作者。
  25. *
  26. * \~english
  27. * Operator.
  28. */
  29. @property (copy, readonly) NSString *userId;
  30. /**
  31. * \~chinese
  32. * 发生变化的 reaction。
  33. *
  34. * \~english
  35. * Changed reaction.
  36. */
  37. @property (copy, readonly) NSString *reaction;
  38. /**
  39. * \~chinese
  40. * 操作。
  41. *
  42. * \~english
  43. * Operate.
  44. */
  45. @property (assign, readonly) EMMessageReactionOperate operate;
  46. @end
  47. NS_ASSUME_NONNULL_END