getMessagesFrom

abstract fun getMessagesFrom(contact: String, limit: Int? = null, includeFiltered: Boolean = true, getNode: suspend (String?) -> Node): Flow<List<Message>>(source)

Returns a reactive flow of messages for a conversation that follows the active database across device switches.

Parameters

contact

The conversation identifier.

limit

Optional maximum number of messages to return.

includeFiltered

Whether to include messages that were marked as filtered.

getNode

Callback to fetch node info for message sender attribution.