MadelineProtoDocs/docs/TD_docs/methods/getUser.md

24 lines
635 B
Markdown

---
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 | Description | Required |
|----------|---------------|-------------|----------|
|user\_id|[int](../types/int.md) | User identifier | Yes|
### Return type: [User](../types/User.md)