searchMessages
abstract fun searchMessages(query: String, contactKey: String? = null, getNode: (String?) -> Node): Flow<List<Message>>(source)
Searches message history using full-text search.
Return
Flow emitting matching messages.
Parameters
query
The search text (will be sanitized for FTS5).
contactKey
Optional contact key to scope search to a single conversation.
getNode
Function to resolve node info by userId.