getAllMessages

open override fun getAllMessages(): Flow<List<Message>>(source)

Retrieves all the messages.

Return

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


open override 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.


open override 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