searchGlobalLocalMessages abstract method

Future<ZIMMessagesGlobalSearchedResult> searchGlobalLocalMessages(
  1. ZIMMessageSearchConfig config
)

Supported versions: 2.9.0 and above.

Detailed description: This method is used to search global local messages.

Business scenario: When there is a need to perform a global search of previous local messages based on keywords or other conditions, you can invoke this interface to search local messages by grouping them according to conversations.

Restrictions: Effective after login, invalid after logout. Searching global is not supported in the room scene (conversationType=1).

Related callbacks: ZIMMessagesGlobalSearchedResult.

config Search global the configuration of local messages.

Implementation

Future<ZIMMessagesGlobalSearchedResult> searchGlobalLocalMessages(ZIMMessageSearchConfig config);