Telegram Advanced icon

Telegram Advanced

Sends data to Telegram With Custom and Advanced Options

Overview

This node interacts with the Telegram API to perform various operations related to Telegram files. Specifically, the 'File' resource with the 'Get' operation allows users to retrieve a file from Telegram by its file ID. Users can choose to download the file or just get its metadata. This is useful for workflows that need to access or process files sent or received via Telegram, such as images, documents, or videos.

Use Case Examples

  1. Download a file sent in a Telegram chat by specifying its file ID and saving it for further processing.
  2. Retrieve metadata about a Telegram file without downloading it, for logging or conditional workflow branching.

Properties

Name Meaning
File ID The unique identifier of the Telegram file to retrieve. Required to specify which file to get.
Download Boolean flag indicating whether to download the file content or just retrieve file metadata.
Additional Fields Optional fields to specify additional parameters when downloading the file, such as MIME type to override automatic detection.

Output

Binary

Contains the downloaded file data if 'Download' is true.

JSON

  • result - The JSON response from Telegram API containing file metadata and details.

Dependencies

  • Telegram API with an API key credential is required to authenticate requests.

Troubleshooting

  • Ensure the 'File ID' is correct and corresponds to a file accessible by the bot.
  • If downloading the file, ensure the bot has permission to access the file and the network connection is stable.
  • If specifying a MIME type, ensure it matches the actual file content to avoid processing errors.

Links

Discussion