MadelineProtoDocs/docs/API_docs/constructors/peerUser.md

30 lines
570 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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];
```