WFCCGroupSearchInfo.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // WFCCGroupSearchInfo.h
  3. // WFChatClient
  4. //
  5. // Created by heavyrain on 2017/10/22.
  6. // Copyright © 2017年 WildFireChat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "WFCCGroupInfo.h"
  10. #import "WFCCJsonSerializer.h"
  11. /**
  12. 搜索群组匹配类型mask
  13. - GroupSearchMarchTypeMask_Group_Name: 匹配群组名称
  14. - GroupSearchMarchTypeMask_Member_Name: 匹配群成员昵称
  15. - GroupSearchMarchTypeMask_Member_Alias: 匹配群成员群昵称
  16. - GroupSearchMarchTypeMask_Group_Remark: 匹配群组remark
  17. */
  18. typedef NS_ENUM(NSInteger, WFCCGroupSearchMarchTypeMask) {
  19. GroupSearchMarchTypeMask_Group_Name = 0x01,
  20. GroupSearchMarchTypeMask_Member_Name = 0x02,
  21. GroupSearchMarchTypeMask_Member_Alias = 0x04,
  22. GroupSearchMarchTypeMask_Group_Remark = 0x08
  23. };
  24. /**
  25. 群组搜索信息
  26. */
  27. @interface WFCCGroupSearchInfo : WFCCJsonSerializer
  28. /**
  29. 命中的群组
  30. */
  31. @property (nonatomic, strong)WFCCGroupInfo *groupInfo;
  32. /**
  33. 命中的类型,请参考WFCCGroupSearchMarchTypeMask
  34. */
  35. @property (nonatomic, assign)int marchType;
  36. /**
  37. 命中群成员名称
  38. */
  39. @property (nonatomic, strong)NSArray *marchedMemberNames;
  40. /**
  41. 搜索的关键字
  42. */
  43. @property (nonatomic, strong)NSString *keyword;
  44. @end