MadelineProto/docs/TD_docs/methods/getUser.md
2017-08-25 14:43:29 +02:00

23 lines
556 B
Markdown

---
title: getUser
description: Returns information about a user by its identifier, offline request if current user is not a bot
---
## 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
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|User identifier|
### Return type: [User](../types/User.md)