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

Properties

NSUInteger totalCount
 
NSArray< V2TIMMessageSearchResultItem * > * messageSearchResultItems
 

Property Documentation

◆ totalCount

- (NSUInteger) totalCount
readwritenonatomicassign

If you search a specified conversation, the total number of eligible messages is returned. If you search all conversations, the total number of conversations where the eligible messages reside is returned.

◆ messageSearchResultItems

- (NSArray<V2TIMMessageSearchResultItem *>*) messageSearchResultItems
readwritenonatomicstrong

If you search a specified conversation, the result list contains only the results found in the conversation. If you search all conversations, eligible messages are grouped by conversation ID and returned on multiple pages.