Quickly send local images to specified channel. Auto-handles image copy/compress and send.
node {baseDir}/send_image.mjs "<image_path>" <channel> <target> [message]
| Parameter | Description | Required |
|---|---|---|
| ----------- | ------------- | ---------- |
image_path | Full path to image | Yes |
channel | Target channel name | Yes |
target | Target user/group | Yes |
message | Optional message | No |
~/.openclaw/media/browser/openclaw message send --media to sendnode {baseDir}/send_image.mjs "~/Pictures/photo.png" telegram @chatname
node {baseDir}/send_image.mjs "~/Downloads/large.jpg" telegram @chatname "landscape"
npm install sharp共 2 个版本