feat: switch message cli to subcommands

This commit is contained in:
Peter Steinberger
2026-01-09 08:59:54 +01:00
parent 7ed53e243d
commit f9be9ad426
14 changed files with 561 additions and 263 deletions

View File

@@ -223,7 +223,7 @@ Outbound Telegram API calls retry on transient network/429 errors with exponenti
## Delivery targets (CLI/cron)
- Use a chat id (`123456789`) or a username (`@name`) as the target.
- Example: `clawdbot message --provider telegram --to 123456789 --message "hi"`.
- Example: `clawdbot message send --provider telegram --to 123456789 --message "hi"`.
## Troubleshooting

View File

@@ -158,7 +158,7 @@ Behavior:
- Caption only on first media item.
- Media fetch supports HTTP(S) and local paths.
- Animated GIFs: WhatsApp expects MP4 with `gifPlayback: true` for inline looping.
- CLI: `clawdbot message --media <mp4> --gif-playback`
- CLI: `clawdbot message send --media <mp4> --gif-playback`
- Gateway: `send` params include `gifPlayback: true`
## Media limits + optimization