MadelineProtoDocs/docs/API_docs/constructors/topPeerCategoryPeers.md
2019-12-27 17:48:04 +01:00

945 B

title description image
topPeerCategoryPeers Top peer category https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: topPeerCategoryPeers

Back to constructors index

Top peer category

Attributes:

Name Type Required Description
category TopPeerCategory Yes Top peer category of peers
count int Yes Count of peers
peers Array of TopPeer Yes Peers

Type: TopPeerCategoryPeers

Example:

$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]];

Or, if you're into Lua:

topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}}