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

Public Member Functions

 V2TIMMessageSearchResult ()
 
 V2TIMMessageSearchResult (const V2TIMMessageSearchResult &)
 
V2TIMMessageSearchResultoperator= (const V2TIMMessageSearchResult &)
 
 ~V2TIMMessageSearchResult ()
 

Data Fields

uint32_t totalCount
 
V2TIMMessageSearchResultItemVector messageSearchResultItems
 
V2TIMString searchCursor
 

Constructor & Destructor Documentation

◆ V2TIMMessageSearchResult() [1/2]

◆ V2TIMMessageSearchResult() [2/2]

◆ ~V2TIMMessageSearchResult()

Member Function Documentation

◆ operator=()

Field Documentation

◆ totalCount

uint32_t totalCount

If you search a specific conversation, the total number of messages that match the search conditions will be returned. If you search all conversations, the number of conversations that contain matching messages will be returned.

◆ messageSearchResultItems

V2TIMMessageSearchResultItemVector messageSearchResultItems

If you search a specific conversation, the messages that match the search conditions in that conversation will be returned. If you search all conversations, matching messages in all conversations will be returned, grouped by conversation ID and paginated.

◆ searchCursor

V2TIMString searchCursor

The starting position of the next cloud search.