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

Class V2TIMMessage​Search​Result

public class V2TIMMessageSearchResult  

Initializers

init()

public init()  

Properties

description

public var description: String  

total​Count

public var totalCount: UInt  

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.

message​Search​Result​Items

public var messageSearchResultItems: Array<V2TIMMessageSearchResultItem>  

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.

search​Cursor

public var searchCursor: String?  

The starting position of the next cloud search.