Actions37
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- Request Actions
- User Actions
User → Get User
AI-generatedOverview
This node operation retrieves detailed information about a specific Telegram user by their user ID. It is useful in scenarios where you need to fetch user details for automation, reporting, or integration purposes within Telegram workflows. For example, you can use it to get profile information of a user to personalize messages or to verify user identity in a Telegram bot.
Use Case Examples
- Fetch user details by providing the user ID to get their profile information.
- Use the retrieved user data to customize interactions or log user activity.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the Telegram user to retrieve information for. |
Output
JSON
id- The unique identifier of the user.first_name- The first name of the user.last_name- The last name of the user.username- The username of the user.phone_number- The phone number associated with the user.status- The current status of the user.profile_photo- Profile photo information of the user.
Dependencies
- Telegram API credentials (API ID, API Hash, Phone Number) required for authentication.
Troubleshooting
- If the node throws an error 'Please login', it means the Telegram session is not authenticated. Use the login operation to authenticate first.
- Errors like 'Unauthorized' or 'A closed client cannot be reused' indicate session issues; re-authentication is required.
- Ensure the user ID provided is valid and the bot or account has permission to access the user information.
Links
- TelePilot Login Guide - Instructions on how to authenticate and login to Telegram using TelePilot.