WFCCGroupInfo.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //
  2. // WFCCGroupInfo.h
  3. // WFChatClient
  4. //
  5. // Created by heavyrain on 2017/8/16.
  6. // Copyright © 2017年 WildFireChat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. 群类型
  11. - GroupType_Normal: 管理员和群主才能加人和退群,修改群信息
  12. - GroupType_Free: 所有人都能加人、退群和修改群信息
  13. - GroupType_Restricted: 普通成员只能退群,不能加人和修改群信息
  14. */
  15. typedef NS_ENUM(NSInteger, WFCCGroupType) {
  16. GroupType_Normal = 0,
  17. GroupType_Free = 1,
  18. GroupType_Restricted = 2,
  19. } ;
  20. /**
  21. 群信息
  22. */
  23. @interface WFCCGroupInfo : NSObject
  24. /**
  25. 群类型
  26. */
  27. @property (nonatomic, assign)WFCCGroupType type;
  28. /**
  29. 群ID
  30. */
  31. @property (nonatomic, strong)NSString *target;
  32. /**
  33. 群名
  34. */
  35. @property (nonatomic, strong)NSString *name;
  36. /**
  37. 群头像
  38. */
  39. @property (nonatomic, strong)NSString *portrait;
  40. /**
  41. 成员数
  42. */
  43. @property (nonatomic, assign)NSUInteger memberCount;
  44. /**
  45. 群主
  46. */
  47. @property (nonatomic, strong)NSString *owner;
  48. /**
  49. 扩展信息
  50. */
  51. @property (nonatomic, strong)NSData *extra;
  52. @end