Loading...
mutiro user message send

Send a message to a user or conversation

Synopsis

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]

Usage mutiro user message send <username|conversation-id> <message> [flags]
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
Options
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)
Global Options
Flag Type Description
--config string config file (default is ./.mutiro.yaml in current directory)
--debug bool debug mode
-v, --verbose bool verbose output
Subcommands
See Also
mutiro user message