2019-06-23 13:07:51 +02:00
|
|
|
---
|
|
|
|
title: updateFolderPeers
|
2019-12-27 17:48:04 +01:00
|
|
|
description: The dialog list of a folder was changed
|
2019-06-23 13:07:51 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: updateFolderPeers
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
The dialog list of a folder was changed
|
2019-06-23 13:07:51 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|folder\_peers|Array of [FolderPeer](../types/FolderPeer.md) | Yes|New folder peers|
|
2019-12-27 17:48:04 +01:00
|
|
|
|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)|
|
|
|
|
|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)|
|
2019-06-23 13:07:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$updateFolderPeers = ['_' => 'updateFolderPeers', 'folder_peers' => [FolderPeer, FolderPeer], 'pts' => int, 'pts_count' => int];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
updateFolderPeers={_='updateFolderPeers', folder_peers={FolderPeer}, pts=int, pts_count=int}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|