Definition of V2TIMGroupSearchParam.
Public Member Functions | |
V2TIMGroupSearchParam () | |
V2TIMGroupSearchParam (const V2TIMGroupSearchParam &groupSearchParam) | |
~V2TIMGroupSearchParam () | |
Data Fields | |
V2TIMStringVector | keywordList |
bool | isSearchGroupID |
bool | isSearchGroupName |
V2TIMKeywordListMatchType | keywordListMatchType |
V2TIMString | groupType |
uint32_t | searchCount |
V2TIMString | searchCursor |
V2TIMGroupSearchParam | ( | const V2TIMGroupSearchParam & | groupSearchParam | ) |
V2TIMStringVector keywordList |
Keyword list to search (max 5) You need to specifiy which fields(group id or group name) to be matched with the keyword list in local search. All fields(group id and group name) will be matched with the keyword list in cloud search.
bool isSearchGroupID |
Whether to search by group ID (only valid for local search)
bool isSearchGroupName |
Whether to search by group name (only valid for local search)
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 (only valid for cloud search)
V2TIMString groupType |
Search group type (only valid for cloud search, AVChatRoom is not supported)
uint32_t searchCount |
The count of groups 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 V2TIMGroupSearchResult (only valid for cloud search)