Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node integrates with the Telegram API via the TelePilot library, enabling automation and interaction with Telegram entities such as users, chats, messages, groups, files, and contacts. Specifically, for the Group resource and the Get Supergroup Full Info operation, it retrieves detailed information about a specified supergroup by its identifier.

Common scenarios where this node is beneficial include:

  • Automating Telegram group management tasks.
  • Fetching comprehensive metadata about a supergroup for analytics or monitoring.
  • Integrating Telegram group data into workflows, e.g., syncing group info to a CRM or database.

Practical example:

  • You want to get full details of a Telegram supergroup (like member count, permissions, description) to display in a dashboard or trigger further actions based on group properties.

Properties

Name Meaning
Supergroup ID Identifier of the Supergroup to retrieve full information for. This should be a string representing the unique ID of the supergroup.

Output

The output is an array of JSON objects containing the response from the Telegram API for the requested operation. For the Get Supergroup Full Info operation, the JSON structure includes detailed information about the supergroup, such as its members, administrators, permissions, description, and other metadata provided by Telegram.

No binary data output is produced by this operation.

Example output snippet (conceptual):

{
  "id": 123456789,
  "status": "member",
  "member_count": 1500,
  "administrator_count": 5,
  "restricted_count": 2,
  "banned_count": 1,
  "can_get_members": true,
  "can_set_username": false,
  "can_set_sticker_set": true,
  "is_all_history_available": true,
  "sticker_set_name": "example_stickers",
  "invite_link": "https://t.me/joinchat/...",
  "description": "This is a sample supergroup for announcements."
}

Dependencies

  • Requires an active Telegram API authentication credential (an API key credential with apiId, apiHash, and phone number).
  • Uses the TelePilot library internally to manage Telegram client sessions and invoke Telegram API methods.
  • The node expects that the user has logged in via the login mechanism provided (e.g., using a ChatTrigger node for MFA and session management).
  • No additional external services are required beyond Telegram's API.

Troubleshooting

  • Not logged in / Unauthorized errors: The node requires a valid Telegram session. If you see errors like "Please login" or "Unauthorized," ensure you have completed the login process using the appropriate login operation and credentials.
  • Session closed or terminated: Errors indicating a closed client mean the session expired or was disconnected. Re-login is necessary.
  • Invalid Supergroup ID: Providing an incorrect or non-existent supergroup ID will result in an error or empty response. Verify the ID before use.
  • API rate limits or restrictions: Telegram may impose limits; handle errors gracefully and consider retry logic if needed.
  • General network or API errors: Check your internet connection and Telegram API status.

Links and References


This summary focuses on the Group resource's Get Supergroup Full Info operation as requested, describing its input, output, and usage context within the TelePilot node.

Discussion