get All Messages Of Type
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.
related With DID
The optional DID to which the messages are related.