getAllMessages

Retrieves all the messages.

Return

a Flow of List of Message objects representing all the messages.


abstract fun getAllMessages(did: DID): Flow<List<Message>>(source)

Retrieves all messages based on the provided DID.

Return

A flow of list of messages.

Parameters

did

The DID (Direct Inward Dialing) to filter messages by.


abstract fun getAllMessages(from: DID, to: DID): Flow<List<Message>>(source)

Retrieves all messages exchanged between the specified 'from' and 'to' DIDs.

Return

a Flow emitting a list of messages exchanged between the 'from' and 'to' DIDs

Parameters

from

the sender DID

to

the receiver DID