Forward Torrent
forward_torrentSend torrent filename and magnet link to a specified Telegram chat via the Torrent Search REST API.
Instructions
Send a torrent (filename + magnet) to the user's Telegram chat.
The forward goes through the Torrent Search REST API, which owns the Telegram bot token; when PRUNE_MAGNET_LINKS is enabled the magnet is pruned to 'magnet:?xt=urn:btih:HASH&dn=' before sending. Requires TORRENT_SEARCH_API_KEY (same value as the API server) and TORRENT_SEARCH_API_URL. Forwards are rate-limited per chat (20/min).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| chat_id | Yes | The owner's Telegram chat id the torrent is sent to. | |
| seeders | No | ||
| filename | Yes | Exact torrent filename shown in the search results. | |
| magnet_link | Yes | Magnet link of the torrent (from get_torrent, or from a search run with INCLUDE_LINKS=true). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |