From d67bc6d195d334c9712420ceca2b9ed4655587ea Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 25 Nov 2025 04:58:59 +0100 Subject: [PATCH] docs: add image send quickstart --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index b94907419..8100a9f4c 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,11 @@ Small CLI to send, receive, auto-reply, and inspect WhatsApp messages over **Twi | `warelay up` | Turn on webhook + Tailscale Funnel + Twilio callback | `--port ` `--path ` `--verbose` `--yes` `--dry-run` | | `warelay web:login` (`login`) | Link personal WhatsApp Web via QR | `--verbose` | +### Sending images (new) +- Twilio: `warelay send --to +1... --message "Hi" --media ./pic.jpg --serve-media` (needs `warelay webhook`/`up` or `--serve-media` to auto-host via Funnel; max 5 MB). +- Web: `warelay send --provider web --media ./pic.jpg --message "Hi"` (local path or URL; no hosting needed). +- Auto-replies can attach `mediaUrl` in `~/.warelay/warelay.json` (used alongside `text` when present). + ## Providers - **Twilio (default):** needs `.env` creds + WhatsApp-enabled number; supports delivery tracking, polling, webhooks, and auto-reply typing indicators. - **Web (`--provider web`):** uses your personal WhatsApp via Baileys; supports send/receive + auto-reply, but no delivery-status wait; cache lives in `~/.warelay/credentials/` (rerun `web:login` if logged out).