openclaw_message
Send messages on Telegram or WhatsApp via OpenClaw by specifying channel, target ID, and text. Optionally attach a media file.
Instructions
Send a message on Telegram or WhatsApp via the OpenClaw gateway
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel": "<channel>",
"target": "<target>",
"message": "<message>"
},
"name": "openclaw_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target chat/user ID or JID | |
| channel | Yes | The messaging channel to use | |
| message | Yes | The message text to send | |
| media_path | No | Optional path to a media file to attach |