Telegram Advanced icon

Telegram Advanced

Sends data to Telegram With Custom and Advanced Options

Overview

This node operation sends a media group message to a specified Telegram chat. It allows sending multiple media items (photos or videos) as an album in one message. Users can specify the chat ID, media items with their types, captions, and parse modes, along with additional optional fields such as message thread ID and custom JSON options. This operation is useful for sharing multiple media files together in a single message album on Telegram.

Use Case Examples

  1. Sending a group of photos as an album to a Telegram chat.
  2. Sharing multiple videos in one message to a Telegram channel.

Properties

Name Meaning
Chat ID Unique identifier for the target chat or username where the media group will be sent.
Media Collection of media items (photos or videos) to include in the media group. Each item includes type, media file reference, caption, and parse mode.
Additional Fields Optional fields to customize the media group message, such as caption, parse mode, disable notification, message thread ID, and custom JSON fields for advanced Telegram API options.

Output

JSON

  • json - The JSON response from the Telegram API after sending the media group message, containing details about the sent message(s).

Dependencies

  • Telegram API with an API key credential

Troubleshooting

  • Ensure the chat ID is correct and the bot has permission to send messages to the chat.
  • Verify that media files exist on Telegram servers or are accessible via HTTP URLs.
  • Check that captions do not exceed 1024 characters.
  • If sending binary data, ensure the file name and MIME type are correctly set.
  • Handle API errors gracefully and verify the bot's API token is valid.

Links

Discussion