mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
31 lines
758 B
Markdown
31 lines
758 B
Markdown
---
|
|
title: "folderPeer"
|
|
description: "Peer in a folder"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: folderPeer
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Peer in a folder
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|peer|[long](/API_docs/types/long.html) | Yes|Folder peer info|
|
|
|folder\_id|[int](/API_docs/types/int.html) | Yes|[Peer folder ID, for more info click here](https://core.telegram.org/api/folders#peer-folders)|
|
|
|
|
|
|
|
|
### Type: [FolderPeer](/API_docs/types/FolderPeer.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$folderPeer = ['_' => 'folderPeer', 'peer' => long, 'folder_id' => int];
|
|
```
|