SaveAny-Bot

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

README

Save Any Bot

把 Telegram 的文件保存到各类存储端.

就像 PikPak Bot 一样

部署

Release 页面下载对应平台的二进制文件.

在解压后目录新建 config.toml 文件, 参考 config.toml.example 编辑配置文件.

运行:

chmod +x saveany-bot
./saveany-bot

使用

向 Bot 发送(转发)文件, 按照提示操作.

Bot API 版本 (v0.3.0 前)

Bot API 版本自身不需要 API_ID 和 API_HASH, 但是部署 Telegram Bot API 服务器仍然需要.

由于 Telegram 官方 Bot API 的限制, Bot 无法下载大于 20MB 的文件. 你需要部署一个本地的 Telegram Bot API 来解决这个问题, 然后在配置文件改为你自己的 api 地址

[telegram]
api = "http://localhost:8081"

参考: telegram-bot-api-compose


Thanks

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL