mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
30 lines
570 B
Markdown
30 lines
570 B
Markdown
|
---
|
||
|
title: "peerUser"
|
||
|
description: "Chat partner"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: peerUser
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Chat partner
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|user\_id|[long](/API_docs/types/long.html) | Yes|User identifier|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Peer](/API_docs/types/Peer.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$peerUser = ['_' => 'peerUser', 'user_id' => long];
|
||
|
```
|