← 返回
沟通协作 Key 中文

telegram send files

Send files quickly via Telegram using the tsend CLI tool with optional captions, profiles, and simple token/chat ID configuration.
使用tsend CLI工具通过Telegram快速发送文件,支持可选标题、配置文件及简单的token/chat ID配置。
shingwha
沟通协作 clawhub v2.1.0 1 版本 99903.7 Key: 需要
★ 2
Stars
📥 997
下载
💾 21
安装
1
版本
#latest

概述

Telegram Sender (tsend)

Zero-config CLI tool. Install once, send forever.

Installation

Tip: Try using tsend command first. If command not found, then install.

Using uv (recommended)

cd <skill-path>/scripts
uv tool install -e .

Replace with the actual skill path.

After installation, tsend command is available globally.

From source (alternative)

If you don't have uv:

cd <skill-path>/scripts
pip install -e .

Just use it

tsend send document.pdf
tsend send photo.jpg --caption "Description"
tsend send image.png -c "Screenshot"

# Send multiple files
tsend send file1.pdf file2.jpg file3.png
tsend send *.pdf --caption "Documents"  # caption only goes to first file

Using specific profile

tsend send file.pdf --profile mybot
tsend send photo.png -c "Description" -p picoclaw

That's it. No setup, no checks, no questions.

Only if it fails (once)

tsend config set --token "YOUR_BOT_TOKEN" --chat-id "YOUR_CHAT_ID"

Or specify a profile:

tsend config set --profile mybot --token "TOKEN" --chat-id "CHAT_ID"
tsend config default mybot  # Set as default

The tool saves config to ~/.tsend/config.json.

Multiple Profiles

Manage multiple bots with profiles:

# List all profiles
tsend config list

# Show specific profile
tsend config show --profile mybot

# Send with specific profile
tsend send file.pdf --profile mybot

Environment Variable

Set default profile via environment:

export TSEND_PROFILE=mybot
tsend send file.pdf  # Uses 'mybot' profile

Useful for different services (nanobot, picoclaw, etc.).

When something's wrong

"token invalid" → Fix with one command:

tsend config set --token NEW_TOKEN --chat-id NEW_ID

No reinstall, no config file hunting.

版本历史

共 1 个版本

  • v2.1.0 当前
    2026-03-29 09:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,748
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,630
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,478