getAllMessagesOfType

open override fun getAllMessagesOfType(type: String, relatedWithDID: DID?): Flow<List<Message>>(source)

Retrieves all messages of a specific type that are related to a given DID.

Return

A Flow emitting a list of Message objects that match the given type and are related to the specified DID.

Parameters

type

The type of the messages to retrieve.

relatedWithDID

The optional DID to which the messages are related.