/newbot 創建新 bot1234567890:ABCdefGHIjklMNOpqrsTUVwxyz)響你既 OpenClaw profile config 度加入:
{
"telegram": {
"botToken": "YOUR_BOT_TOKEN_HERE",
"allowFrom": ["YOUR_CHAT_ID"]
}
}
記住你用既 profile 名(例如 main、rescue),之後用既時候補返上去。
This skill captures the macOS screen and sends it directly via Telegram Bot API.
```bash
/usr/sbin/screencapture -x
```
```bash
cp
```
```bash
BOT_TOKEN=$(grep botToken
curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendPhoto" \
-F "chat_id=
-F "photo=@
```
When using this skill, ask the user for:
target-chat-id: The Telegram chat ID to send to (e.g., user's ID for DM)profile: The OpenClaw profile name (e.g., "main", "rescue")~/.openclaw-/openclaw.json ~/.openclaw/workspace-/ For example, if your profile is "main", paths would be:
~/.openclaw-main/openclaw.json~/.openclaw/workspace-main/message tool in OpenClaw has a bug (#15541) that returns success but doesn't send media共 1 个版本