Messenger

interface Messenger

Handles sending and receiving messages.

Properties

Link copied to clipboard
abstract val message: Flow<Message>

a Flow of incoming Messages

Functions

Link copied to clipboard
abstract suspend fun send(type: String, payload: String, participantId: ParticipantId? = null): Message

Suspends until the message is sent or until an error is encountered.