Send a message to a contact from the CLI
channels
// what it does
openclaw message send pushes a message out through a channel with no agent in the loop — good for alerts and scripts. --target takes a phone number, @username, or channel:id; --channel picks the channel; --media attaches a file and --silent suppresses the notification. openclaw message broadcast fans one message out to several targets.
// shell
$ openclaw message send --channel telegram --target @user --message "Deploy finished"$ openclaw message send --target +15555550123 --media report.pdf --message "Report"$ openclaw message broadcast --message "Alert" --targets @u1 @u2// gotcha
The target format is channel-specific — a bare +15555550123 for WhatsApp, @user or a numeric id for Telegram, channel:123 for Discord — so pass --channel or the target may resolve on the wrong one.