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 |
V2TIMUserSearchParam | ( | const V2TIMUserSearchParam & | groupSearchParam | ) |
~V2TIMUserSearchParam | ( | ) |
V2TIMStringVector keywordList |
Specify the keywords (max 5), the keyword will automatically match the user ID and nickname.
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.
V2TIMGender gender |
Gender (if not set, both male and female are returned by default)
uint32_t minBirthday |
Minimum birthday (if not set, the default value is 0)
uint32_t maxBirthday |
Maximum birthday (if not set, all users with birthday >= minBirthday will be returned by default)
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)
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.