selectMessages

abstract suspend fun selectMessages(messageIds: List<String>): List<Message>

Selects messages by IDs.

Return

A list of messages found in repository.

Parameters

messageIds

A list of Message.id as query specification.

forceCache

A boolean flag that forces cache in repository and fetches data directly in database if passed value is true.