Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Chat → Create SuperGroup or Channel

AI-generated

Overview

This node operation allows users to create a new Telegram supergroup chat or channel. It supports setting the title and description of the new chat or channel and specifying whether the created entity should be a channel or a supergroup. This is useful for automating the creation of Telegram groups or channels within workflows, such as setting up community groups, broadcast channels, or team chats programmatically.

Use Case Examples

  1. Creating a new Telegram supergroup for a project team with a specific title and description.
  2. Creating a broadcast channel to share updates with subscribers automatically.

Properties

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

Output

JSON

  • id - Unique identifier of the created chat or channel.
  • title - Title of the created chat or channel.
  • about - Description of the created chat or channel.
  • broadcast - Boolean indicating if the created entity is a channel (true) or a supergroup (false).
  • megagroup - Boolean indicating if the created entity is a supergroup (true) or a channel (false).

Dependencies

  • Requires an API key credential for Telegram (telePilotApi) to authenticate and interact with the Telegram API.

Troubleshooting

  • Ensure the Telegram API credentials are correctly configured and the session is logged in before attempting to create a chat or channel.
  • If the node throws a 'Client not initialized' error, it means the Telegram client session is not active; login is required.
  • Errors related to permissions or invalid parameters may occur if the title or description is missing or invalid.

Links

Discussion