mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2025-01-22 05:41:46 +01:00
31 lines
834 B
Markdown
31 lines
834 B
Markdown
|
---
|
||
|
title: "inputFolderPeer"
|
||
|
description: "Peer in a folder"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: inputFolderPeer
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Peer in a folder
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|peer|[Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | Optional|Peer|
|
||
|
|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: [InputFolderPeer](/API_docs/types/InputFolderPeer.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$inputFolderPeer = ['_' => 'inputFolderPeer', 'peer' => InputPeer, 'folder_id' => int];
|
||
|
```
|