Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

The Get Supergroup Info operation of the Group resource in the Telegram CoPilot (TelePilot) n8n node retrieves detailed information about a specific Telegram supergroup. This is useful for automation scenarios where you need to fetch metadata or administrative details about a supergroup, such as its title, description, member count, permissions, and more.

Practical examples:

  • Automatically gather supergroup statistics for reporting.
  • Check group settings before performing moderation actions.
  • Integrate with other systems that require up-to-date group info.

Properties

Display Name Type Description
Supergroup ID String Identifier of the Supergroup. This should be the unique ID of the Telegram supergroup you want to query.

Output

The output will be a JSON object containing the information returned by the Telegram API for the requested supergroup. The structure typically includes fields such as:

{
  "id": 123456789,
  "title": "Example Supergroup",
  "username": "examplegroup",
  "status": "member",
  "members_count": 150,
  "is_channel": false,
  "description": "This is an example supergroup.",
  // ...other Telegram supergroup properties
}

Note: The exact fields depend on the Telegram API's response for the getSupergroup or getSupergroupFullInfo method.

Dependencies

  • Telegram API credentials: You must configure the node with valid TelePilot API credentials (apiId, apiHash, and phoneNumber).
  • n8n configuration: Ensure the TelePilot credential is set up in your n8n instance.

Troubleshooting

Common issues:

  • Invalid Supergroup ID: If the provided Supergroup ID is incorrect or does not exist, the node may return an error or empty result.
  • Session closed/unauthorized: If your Telegram session has expired or was terminated, you may see errors like:
    • "Session was closed or terminated. Please login again: https://telepilot.co/login-howto"
    • "Please login: https://telepilot.co/login-howto"
      To resolve, re-authenticate your TelePilot credentials as per the linked guide.
  • API errors: Any Telegram API errors (e.g., network issues, permission problems) will be surfaced in the node's output or as execution errors.

Links and References

Discussion