MadelineProtoDocs/old_docs/API_docs_v105/constructors/updateFolderPeers.md
2019-12-27 17:48:04 +01:00

1.0 KiB

title description image
updateFolderPeers The dialog list of a folder was changed https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateFolderPeers

Back to constructors index

The dialog list of a folder was changed

Attributes:

Name Type Required Description
folder_peers Array of FolderPeer Yes New folder peers
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}