Actions26
- Chat Actions
- File Actions
- Group Actions
- Message Actions
- User Actions
Overview
This node, named "Telegram CoPilot," provides a comprehensive interface to interact with Telegram via its API. It supports multiple resources and operations, including user management, chat handling, messaging, file operations, and login sessions.
Specifically, for the User resource and the Get User Full Info operation, the node retrieves detailed information about a specified Telegram user by their user ID. This can be useful in scenarios where you need to fetch complete profile data of a user, such as for analytics, customer support, or automation workflows that depend on user details.
Practical examples:
- Fetching full user info to display enriched user profiles in a CRM.
- Automating user verification processes by retrieving detailed user data.
- Integrating Telegram user data into other systems for reporting or notifications.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the Telegram user whose full information you want to retrieve. |
The property is required and expects a string representing the Telegram user ID.
Output
The output is a JSON array containing the full user information object returned by the Telegram API for the specified user ID. This object includes all available details about the user, such as username, status, profile photos, and other metadata provided by Telegram's getUserFullInfo method.
No binary data output is involved in this operation.
Dependencies
- Requires an active Telegram API authentication credential (an API key credential) configured in n8n.
- Depends on the internal Telegram client session managed by the node's connection manager.
- The node uses the Telegram TDLib-based client under the hood to invoke Telegram API methods.
Troubleshooting
- Session Not Logged In: If the Telegram account session is not logged in or has expired, errors like
"Please login"or"Session was closed or terminated"may occur. To resolve, re-authenticate using the login flow described at https://telepilot.co/login-howto. - Unauthorized Errors: These indicate invalid or expired credentials. Reconnect or update your Telegram API credentials.
- Invalid User ID: Providing a non-existent or malformed user ID will result in errors from the Telegram API. Verify the user ID before use.
- Client Closed Error: If the internal client session is closed unexpectedly, the node marks it as closed and requires a new login session.
Links and References
- Telegram TDLib Documentation
- Telepilot Login Guide
- Telegram Bot API Overview (for general Telegram API concepts)