Actions30
- Chat Actions
- Custom Request Actions
- File Actions
- Group Actions
- Message Actions
- User Actions
Overview
The node acts as a personal Telegram assistant, enabling interaction with the Telegram API to perform various chat-related operations. Specifically, for the Chat resource and Join Chat operation, it allows the user to join a Telegram chat by providing the chat's unique identifier. This is useful in scenarios where automated joining of groups or channels is needed, such as onboarding users into community chats, managing memberships programmatically, or integrating Telegram group participation into broader workflows.
Practical example: Automatically joining a Telegram group when a new user signs up on a platform, enabling seamless communication and updates within that group.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat to join. This is a required string input. |
Output
The output is a JSON object representing the result of the join chat request. It typically contains details about the chat joined or confirmation of the action. The exact structure depends on the Telegram API response but generally includes chat metadata such as chat ID, title, type, and status.
No binary data output is associated with this operation.
Dependencies
- Requires an active Telegram API authentication credential (an API key credential).
- Depends on the TelePilot Node Connection Manager to handle client sessions and API calls.
- Requires proper login/authentication via phone number and code before performing chat operations.
- No additional external services beyond Telegram API are needed.
Troubleshooting
Common issues:
- Attempting to join a chat without being logged in will cause errors. Ensure the login process is completed successfully.
- Invalid or incorrect Chat ID may lead to failure in joining the chat.
- Network or session expiration issues can cause the client to close unexpectedly.
Error messages and resolutions:
"Please login: https://telepilot.co/login-howto": Indicates the Telegram session is not authenticated. Follow the login instructions using the ChatTrigger node or manual login commands."A closed client cannot be reused, create a new Client": The session was closed; re-authenticate to continue."Unauthorized": Authentication token expired or invalid; re-login is required.- If the node is set to continue on fail, errors will be returned in the output JSON instead of stopping execution.