Actions26
- Chat Actions
- File Actions
- Group Actions
- Message Actions
- User Actions
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 community management, broadcasting messages, or setting up discussion groups programmatically.
Practical examples include:
- Automatically creating a new Telegram channel for announcements when a new project starts.
- Setting up a supergroup chat for team collaboration triggered by an external event.
- Creating channels or supergroups as part of onboarding workflows.
Properties
| Name | Meaning |
|---|---|
| Title | The title/name of the new supergroup chat or channel to be created. |
| Description | A short description (0-255 characters) for the chat or channel. |
| Is Channel? | Boolean flag indicating whether to create a channel (true) or a supergroup chat (false). |
Output
The node outputs a JSON array containing the response from the Telegram API after attempting to create the supergroup or channel. The structure typically includes details about the newly created chat such as its unique identifier, type (channel or supergroup), 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 credential with necessary permissions).
- Depends on the TelePilot Node Connection Manager to handle Telegram client sessions and API calls.
- The user must be logged in via the login mechanism provided by the node (e.g., phone number login with MFA support).
- Network access to Telegram servers is required.
Troubleshooting
Common issues:
- Attempting to create a supergroup or channel without being logged in will result in errors prompting re-login.
- Invalid or missing parameters like empty title may cause the Telegram API to reject the request.
- Session expiration or closure requires re-authentication.
Error messages:
"Session was closed or terminated. Please login again: https://telepilot.co/login-howto"
Means the Telegram session is no longer valid; re-login is needed."Please login: https://telepilot.co/login-howto"
Indicates unauthorized access due to missing or expired credentials.- Unexpected auth states or command errors during login are also reported with guidance links.
To resolve these, ensure proper login using the node’s login flow, provide all required fields correctly, and maintain active sessions.
Links and References
- TelePilot Login Guide — Instructions for logging into Telegram via TelePilot.
- Telegram API Documentation — Official Telegram API reference for deeper understanding of chat types and methods.