Search Service
This interface defines methods to search messages in rooms.
Functions
Link copied to clipboard
abstract suspend fun search( searchTerm: String, roomId: String, nextBatch: String?, orderByRecent: Boolean, limit: Int, beforeLimit: Int, afterLimit: Int, includeProfile: Boolean): SearchResult
Content copied to clipboard
Generic function to search a term in a room. Ref: https://matrix.org/docs/spec/client_server/latest#module-search