Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node integrates with the Telegram API to perform various operations related to Telegram groups, chats, users, messages, files, and contacts. Specifically, for the 'Group' resource and 'Get Supergroup Full Info' operation, it retrieves detailed information about a specified Telegram supergroup by its identifier. This node is useful for automating Telegram management tasks such as fetching group details, managing chats, sending messages, and handling files within Telegram.

Use Case Examples

  1. Retrieve full information about a Telegram supergroup by providing its Supergroup ID.
  2. Fetch chat history or user details in Telegram for automation workflows.
  3. Send messages, photos, audio, or files to Telegram chats programmatically.

Properties

Name Meaning
Supergroup ID Identifier of the Supergroup to retrieve full information for.

Output

JSON

  • 0 - The JSON response containing the full information of the specified Telegram supergroup.

Dependencies

  • Requires an API key credential for Telegram API authentication.

Troubleshooting

  • Common errors include 'Please login' or 'Unauthorized' indicating the Telegram session is not authenticated. The user should login using the ChatTrigger node with the loginWithPhoneNumber action as per the guide at https://telepilot.co/login-howto.
  • Errors like 'A closed client cannot be reused' indicate the Telegram client session was closed and needs re-authentication.
  • File-related errors when sending audio or files may occur if the file path is invalid or the file size exceeds Telegram limits (e.g., 20MB for voice messages).
  • User restrictions on receiving messages may cause errors when sending audio or voice messages; try sending as a regular audio file instead.

Links

  • TelePilot Login Guide - Instructions on how to login and authenticate the Telegram session for this node.

Discussion