IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMGroupMemberSearchParam

Properties

NSArray< NSString * > * keywordList
 
NSArray< NSString * > * groupIDList
 
BOOL isSearchMemberUserID
 
BOOL isSearchMemberNickName
 
BOOL isSearchMemberRemark
 
BOOL isSearchMemberNameCard
 
V2TIMKeywordListMatchType keywordListMatchType
 
NSUInteger searchCount
 
NSString * searchCursor
 

Property Documentation

◆ keywordList

- (NSArray<NSString *>*) keywordList
readwritenonatomicstrong

Keyword list to search. Up to 5 keywords are supported. You need to specifiy which fields(group member id 、nickname、remark or name card) to be matched with the keyword list in local search. All fields(group member id 、nickname and name card) will be matched with the keyword list in cloud search.

◆ groupIDList

- (NSArray<NSString *>*) groupIDList
readwritenonatomicstrong

Group ID list to search. If null is passed in, group members of all joined groups will be searched.

◆ isSearchMemberUserID

- (BOOL) isSearchMemberUserID
readwritenonatomicassign

Search by userID (only valid for local search)

◆ isSearchMemberNickName

- (BOOL) isSearchMemberNickName
readwritenonatomicassign

Search by nickname (only valid for local search)

◆ isSearchMemberRemark

- (BOOL) isSearchMemberRemark
readwritenonatomicassign

Search by remarks (only valid for local search)

◆ isSearchMemberNameCard

- (BOOL) isSearchMemberNameCard
readwritenonatomicassign

Search by group member alias (only valid for local search)

◆ keywordListMatchType

- (V2TIMKeywordListMatchType) keywordListMatchType
readwritenonatomicassign

Whether to combine the keywords with OR (V2TIM_KEYWORD_LIST_MATCH_TYPE_OR) or AND (V2TIM_KEYWORD_LIST_MATCH_TYPE_AND). The default is OR (only valid for cloud search)

◆ searchCount

- (NSUInteger) searchCount
readwritenonatomicassign

The count of group members returned per cloud search (must be greater than 0, maximum supported is 100, default is 20, only valid for cloud search)

◆ searchCursor

- (NSString*) searchCursor
readwritenonatomicstrong

Set the starting position for a cloud search. For the first call, leave the parameter empty. For subsequent calls, pass in the value of nextCursor in V2TIMGroupMemberSearchResult (only valid for cloud search)