mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 11:06:58 +01:00
23 lines
556 B
Markdown
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)
|
|
|