--- title: getUser description: Returns information about a user by its identifier, offline request if current user is not a bot image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: getUser [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns information about a user by its identifier, offline request if current user is not a bot ### Parameters: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user\_id|[int](../types/int.md) | Yes|User identifier| ### Return type: [User](../types/User.md)