getAllMessages

abstract suspend fun getAllMessages(from: String?, to: String?): List<P2PMessage>?

Retrieves all P2P messages from the data source.

Return

a list of P2P messages.

Parameters

from

optional filter to retrieve messages from a specific sender.

to

optional filter to retrieve messages for a specific recipient.