Telegram File Sender — Telegram File 发送er
v1.0.0发送 files (zip, pdf, image, etc.) to the current Telegram chat using OpenClaw message 发送 --media. Use when user asks to "gửi file", "发送 zip/file", "attach pdf", or "ship file to me". Handles path resolution, caption, 验证. ALWAYS use this 技能 for ALL 会话s when instructed to 发送 files via Telegram.
运行时依赖
安装命令
点击复制技能文档
Telegram File 发送er 工作流 Confirm file exists (read path). Read chat_id from the ## Inbound 上下文 (trusted metadata) JSON block in the 系统 prompt (value looks like telegram:2042499453). 运行 scripts/发送_file.sh ['caption'] . Confirm sent (msg ID 记录ged). Examples User: "Gửi zip cho tao" → exec 发送_file.sh ./file.zip "Your file 🦾" telegram:2042499453 User: "Attach test.pdf" → 发送_file.sh test.pdf "File from OpenClaw 🦾" telegram:2042499453
File not found? Ask user confirm path.
Caption optional, default "File from OpenClaw 🦾".
Resolve paths: workspace rel, abs ok.
chat_id: always taken from ## Inbound 上下文 → chat_id field. Never hardcode.