Send a message to a user or conversation
Send a message to another user or an existing conversation.
You can specify the recipient by:
- Username (e.g., "alice") - for direct messages
- Conversation ID (e.g., "conv_123") - for existing conversations
The message can optionally be a reply to another message using the --reply-to flag. You can attach a file using the --file flag (supports audio, images, documents, and more).
Examples:
Send a direct message to alice
mutiro user message send alice "Hello Alice!"
Send to a conversation
mutiro user message send conv_123 "Hello everyone!"
Reply to a specific message
mutiro user message send alice "I agree!" --reply-to=msg_456
Send message with audio file attachment
mutiro user message send alice "Check this out" --file recording.m4a
Send image with caption
mutiro user message send alice "My screenshot" --file screenshot.png
Send document
mutiro user message send alice "Here's the report" --file report.pdf
Send file without text (caption is optional)
mutiro user message send alice "" --file document.pdf
Output JSON response
mutiro user message send alice "Test" --json
mutiro user message send <username|conversation-id> <message> [flags]
Send a direct message to alice
Send to a conversation
Reply to a specific message
Send message with audio file attachment
Send image with caption
Send document
Send file without text (caption is optional)
Output JSON response
| Flag | Type | Description |
|---|---|---|
| --file | string | File to attach to message (audio, images, documents, etc.) |
| -h, --help | bool | help for send |
| --json | bool | Output result as JSON |
| --reply-to | string | Message ID to reply to |
| --wait | bool | Block until the recipient replies, then print the reply (for probing agents and scripting) |
| --wait-settle int | bool | Quiet seconds after the last reply before returning (agents may send several messages) (default 2) |
| --wait-timeout int | bool | Seconds to wait for a reply before failing (default 120) |
| Flag | Type | Description |
|---|---|---|
| --config | string | config file (default is ./.mutiro.yaml in current directory) |
| --debug | bool | debug mode |
| -v, --verbose | bool | verbose output |