sendMessage
abstract suspend fun sendMessage(text: String, recipientName: String? = null, channelName: String? = null): SendMessageResult(source)
Send a text message over the mesh network.
The destination is resolved by name using fuzzy matching — either a node name for direct messages or a channel name for broadcast. If both are null, the message is broadcast on the primary channel.
Return
Result indicating success or a typed failure reason.
Parameters
text
The message text to send.
recipientName
Optional node name for direct messages.
channelName
Optional channel name. Defaults to primary channel if omitted.