MadelineProtoDocs/old_docs/API_docs_v39/constructors/updateFolderPeers.md
2020-06-16 17:50:25 +02:00

1.1 KiB

title description image
updateFolderPeers The peer list of a [peer folder](https://core.telegram.org/api/folders#peer-folders) was updated https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateFolderPeers

Back to constructors index

The peer list of a peer folder was updated

Attributes:

Name Type Required Description
folder_peers Array of FolderPeer Yes New peer list
pts int Yes Event count after generation
pts_count int Yes Number of events that were generated

Type: Update

Example:

$updateFolderPeers = ['_' => 'updateFolderPeers', 'folder_peers' => [FolderPeer, FolderPeer], 'pts' => int, 'pts_count' => int];

Or, if you're into Lua:

updateFolderPeers={_='updateFolderPeers', folder_peers={FolderPeer}, pts=int, pts_count=int}