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.
V2TIMUserSearchParam

Detailed Description

Definition of V2TIMUserSearchParam.

Public Member Functions

 V2TIMUserSearchParam ()
 
 V2TIMUserSearchParam (const V2TIMUserSearchParam &groupSearchParam)
 
 ~V2TIMUserSearchParam ()
 

Data Fields

V2TIMStringVector keywordList
 
V2TIMKeywordListMatchType keywordListMatchType
 
V2TIMGender gender
 
uint32_t minBirthday
 
uint32_t maxBirthday
 
uint32_t searchCount
 
V2TIMString searchCursor
 

Constructor & Destructor Documentation

◆ V2TIMUserSearchParam() [1/2]

◆ V2TIMUserSearchParam() [2/2]

V2TIMUserSearchParam ( const V2TIMUserSearchParam groupSearchParam)

◆ ~V2TIMUserSearchParam()

Field Documentation

◆ keywordList

V2TIMStringVector keywordList

Specify the keywords (max 5), the keyword will automatically match the user ID and nickname.

◆ keywordListMatchType

V2TIMKeywordListMatchType keywordListMatchType

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.

◆ gender

V2TIMGender gender

Gender (if not set, both male and female are returned by default)

◆ minBirthday

uint32_t minBirthday

Minimum birthday (if not set, the default value is 0)

◆ maxBirthday

uint32_t maxBirthday

Maximum birthday (if not set, all users with birthday >= minBirthday will be returned by default)

◆ searchCount

uint32_t searchCount

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

◆ searchCursor

V2TIMString searchCursor

Set the starting position for a cloud search. For the first call, leave the parameter empty. For subsequent calls, pass in the value of searchCursor in V2TIMUserSearchResult.