getExchange

open override fun getExchange(id: String, requesterDid: String): List<Message>

Returns a list of Message representing the exchange with the specified ID.

Return

A list of Message representing exchanges with the specified ID(s), or null if not found.

Parameters

id

The exchange ID to retrieve. If null, returns null.

requesterDid

the DID of the requester.