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.
V2TIMGroupMemberSearchParamabstract
Swift - V2TIMGroupMemberSearchParam
Swift

Class V2TIMGroup​Member​Search​Param

public class V2TIMGroupMemberSearchParam  

Definition of V2TIMGroupMemberSearchParam

Initializers

init()

public init()  

Properties

description

public var description: String  

keyword​List

public var keywordList: Array<String>  

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.

group​IDList

public var groupIDList: Array<String>?  

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

is​Search​Member​User​ID

public var isSearchMemberUserID: Bool  

Search by userID (only local search is valid)

is​Search​Member​Nick​Name

public var isSearchMemberNickName: Bool  

Search by nickname (only local search is valid)

is​Search​Member​Remark

public var isSearchMemberRemark: Bool  

Search by remarks (only local search is valid)

is​Search​Member​Name​Card

public var isSearchMemberNameCard: Bool  

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

keyword​List​Match​Type

public var keywordListMatchType: V2TIMKeywordListMatchType  

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 cloud search is valid)

search​Count

public var searchCount: UInt  

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)

search​Cursor

public var searchCursor: String  

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)