Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node integrates with Telegram via the TelePilot API, enabling automation of various Telegram actions. Specifically, for the Chat resource and the Create SuperGroup or Channel operation, it allows users to create a new supergroup chat or channel on Telegram. This is useful for automating group or channel creation workflows, such as setting up community groups, announcement channels, or team chats programmatically.

Practical examples include:

  • Automatically creating a new Telegram channel for broadcasting updates when a new project starts.
  • Creating a supergroup chat for a newly formed team or event participants without manual intervention.

Properties

Name Meaning
Title The title/name of the new supergroup chat or channel to be created.
Description A short description of the chat or channel (0-255 characters).
Is Channel? Boolean flag indicating whether to create a channel (true) or a supergroup chat (false).

Output

The node outputs an array of JSON objects representing the response from the Telegram API after attempting to create the supergroup or channel. The structure typically includes details about the newly created chat or channel, such as its unique identifier, type, title, description, and other metadata returned by Telegram.

No binary data output is involved in this operation.

Dependencies

  • Requires an active Telegram API authentication credential (an API key/token) configured in n8n.
  • Depends on the TelePilot Node Connection Manager to handle Telegram client sessions and API calls.
  • The user must be logged in to Telegram via this node’s login mechanism before performing chat operations.

Troubleshooting

  • Session Not Logged In: If the Telegram session is not authenticated, the node will throw errors prompting to log in first. Users should follow the login instructions at https://telepilot.co/login-howto.
  • Closed Client Error: If the client session was closed or terminated, the node suggests re-login to restore the session.
  • Unauthorized Errors: These indicate invalid or expired credentials; re-authentication is required.
  • Invalid Input: Ensure the Title is provided and the Description does not exceed 255 characters.
  • API Limits or Restrictions: Telegram may impose limits on creating groups/channels; ensure compliance with Telegram policies.

Links and References

Discussion