Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node integrates with the Telegram API via the TelePilot library to perform various Telegram-related actions. Specifically, for the Group resource and the Get Supergroup Info operation, it retrieves detailed information about a Telegram supergroup by its identifier.

Common scenarios where this node is beneficial include:

  • Automating retrieval of metadata or settings of a Telegram supergroup.
  • Integrating Telegram group data into workflows for monitoring or reporting.
  • Using supergroup info to conditionally trigger other automation steps based on group properties.

Practical example:

  • You want to fetch full details of a Telegram supergroup (like member count, permissions, description) to log or analyze group activity in an external system.

Properties

Name Meaning
Supergroup ID Identifier of the Supergroup to query.

The property "Supergroup ID" is a string input where you provide the unique identifier of the Telegram supergroup whose information you want to retrieve.

Output

The node outputs a JSON array containing the response from the Telegram API call:

  • For getSupergroup, the output JSON contains basic information about the supergroup such as its ID, title, status, and other metadata.
  • For getSupergroupFullInfo, the output JSON includes comprehensive details about the supergroup, including members, administrators, permissions, and additional settings.

No binary data output is produced by this operation.

Dependencies

  • Requires an active Telegram API authentication credential (an API key credential with necessary permissions).
  • Uses the TelePilot library internally to manage Telegram client sessions and invoke Telegram API methods.
  • The node expects that the user has logged in successfully via the login flow provided by the node (e.g., using phone number and authentication code).

Troubleshooting

  • Error: "Please login" or "Unauthorized"
    This indicates the Telegram session is not authenticated or has expired. Resolve by performing the login process again using the node's login operations.

  • Error: "A closed client cannot be reused"
    Means the internal Telegram client session was closed unexpectedly. The node marks the session as closed and requires re-login.

  • Invalid Supergroup ID
    If the provided supergroup ID is incorrect or does not exist, the Telegram API will return an error. Verify the ID before running the node.

  • Network or API errors
    Temporary network issues or Telegram API rate limits may cause failures. Retry after some time or check your network connectivity.

Links and References

Discussion