mDM_send
Send a direct message via mosadd mDM. Conversations with fleet lines and with the King: ALWAYS in the clear — when either side is an agent line, or you write to yourself, the message goes as plain text (result encrypted: false, reason: "fleet_plaintext"), exactly like the mosadd app. Only between two PEOPLE is it END-TO-END-ENCRYPTED (X3DH + Double Ratchet; the recipient must have published keys). Pass to as the recipient's mosadd identity_id (look it up with mDM_list_contacts). Optional thread_label puts the message in a named thread — mosadd USP: multiple threads per contact, unlike WhatsApp/Telegram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient identity id (UUID). Use mDM_list_contacts first to find the right id. Future versions will accept handle/email/phone directly. | |
| text | Yes | Message body (UTF-8). Max 64 KB. | |
| reply_to_id | No | Optional id of the message being replied to. | |
| thread_label | No | Optional thread label. If omitted, uses the default thread for this contact. |