searchLocalConversations abstract method

Supported versions: 2.9.0 and above.

Detailed description: This method is used for searching local conversations based on local messages.

Business scenario: When there is a need to search conversations using keywords or other conditions, this API can be called for searching.

Call timing/Notification timing: It should be invoked when there is a requirement to search conversations using keywords or other conditions.

Restrictions: effective after logging in and becomes invalid after logging out. Searching is not supported in room scenarios (conversationType=1).

Related callbacks: ZIMConversationsSearchedResult.

config Global search conversation config.

Implementation

Future<ZIMConversationsSearchedResult> searchLocalConversations(
    ZIMConversationSearchConfig config);