Get User
Retrieves detailed information about a specific Telegram user.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Client Id - The unique identifier of the Telegram client to use for this operation.
- User Id - The unique identifier of the user to retrieve information for.
Output
- User - An object containing detailed information about the user.
How It Works
The Get User node retrieves detailed information about a specific Telegram user. When executed, the node:
- Validates the provided inputs (Client Id and User Id)
- Uses the Telegram client to fetch the entity information for the specified user
- Extracts relevant user information:
- ID
- Access hash
- First name
- Last name
- Username
- Phone number
- Returns the user information as output
Requirements
- A valid Telegram client session with appropriate permissions
- Valid User Id
- Client Id must match an existing Telegram client session
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Client Id
- Empty or invalid User Id
- Invalid User Id format (must be a numeric value)
Usage Notes
- The User Id must be a numeric value representing the Telegram user's unique identifier
- The output contains comprehensive information about the user
- This node is useful for getting detailed information about a specific user when you have their ID
- The Client Id must correspond to an active Telegram client session