Actions40
- Chat Actions
- Custom Request Actions
- Group Actions
- File Actions
- Login Actions
- Message Actions
- User Actions
- Contact Actions
Overview
This node interacts with the Telegram API to perform various user-related operations within Telegram. Specifically, for the 'User' resource and 'Get User' operation, it retrieves detailed information about a Telegram user by their user ID. This is useful for scenarios where you need to fetch user details for automation, analytics, or integration purposes, such as getting profile information or verifying user identity in a workflow.
Use Case Examples
- Retrieve detailed information about a Telegram user by providing their user ID to integrate user data into a CRM system.
- Fetch user details to personalize messages or automate responses based on user attributes.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the Telegram user to retrieve information for. |
Output
JSON
id- The unique identifier of the Telegram user.first_name- The first name of the user.last_name- The last name of the user, if available.username- The Telegram username of the user, if set.phone_number- The phone number associated with the user, if available.status- The current status of the user (e.g., online, offline).profile_photo- Information about the user's profile photo, if any.bio- The biography or description of the user, if set.
Dependencies
- Requires an API key credential for Telegram API access (telePilotApi).
Troubleshooting
- Common issues include authentication errors if the Telegram session is not logged in or has expired. The node will throw errors prompting to login again via the ChatTrigger node with login commands.
- Errors such as 'Unauthorized' or 'A closed client cannot be reused' indicate session problems and require re-authentication.
- Ensure the provided User ID is valid and the bot or API client has permission to access user information.
Links
- TelePilot Login Guide - Instructions on how to authenticate and login to Telegram using TelePilot.