Actions34
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
File → Get Remote File
AI-generatedOverview
This node interacts with the Telegram API to perform various operations related to Telegram entities such as users, contacts, chats, messages, groups, and files. Specifically, for the 'File' resource with the 'Get Remote File' operation, it allows users to specify a remote file identifier to retrieve information about that remote file. This node is useful for automating Telegram interactions, such as downloading files, managing chats, sending messages, and more, within an n8n workflow.
Use Case Examples
- Downloading a remote file from Telegram by specifying its file ID.
- Retrieving chat history or user information from Telegram.
- Sending messages or files to a Telegram chat automatically.
Properties
| Name | Meaning |
|---|---|
| File ID | Identifier of the remote file to download from Telegram. |
Output
JSON
file_id- The identifier of the remote file requested.note- Additional note indicating that file download requires message context in GramJS.
Dependencies
- Telegram API access via an API key credential
- TelePilot API credentials for authentication
- GramJS library for Telegram client interactions
Troubleshooting
- Client not initialized error: Ensure the Telegram account is logged in before performing operations.
- Session closed or terminated: Re-login is required; follow the guide at https://telepilot.co/login-howto.
- Unauthorized error: Check API credentials and login status.
- File download requires message context: The 'getRemoteFile' operation only returns file ID info; actual download needs message context.
Links
- TelePilot Login Guide - Instructions for logging into Telegram via TelePilot node.
- GramJS Library - Library used for Telegram client interactions.