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

Detailed Description

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
 

Constructor & Destructor Documentation

◆ V2TIMGroupSearchParam() [1/2]

◆ V2TIMGroupSearchParam() [2/2]

V2TIMGroupSearchParam ( const V2TIMGroupSearchParam groupSearchParam)

◆ ~V2TIMGroupSearchParam()

Field Documentation

◆ keywordList

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.

◆ isSearchGroupID

bool isSearchGroupID

Whether to search by group ID (only valid for local search)

◆ isSearchGroupName

bool isSearchGroupName

Whether to search by group name (only valid for local search)

◆ 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 (only valid for cloud search)

◆ groupType

V2TIMString groupType

Search group type (only valid for cloud search, AVChatRoom is not supported)

◆ searchCount

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)

◆ 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 V2TIMGroupSearchResult (only valid for cloud search)