MadelineProto/docs/API_docs/constructors/topPeerCategoryPeers.md
2017-07-23 16:33:46 +02:00

961 B

title description
topPeerCategoryPeers topPeerCategoryPeers attributes, type and example

Constructor: topPeerCategoryPeers

Back to constructors index

Attributes:

Name Type Required
category TopPeerCategory Yes
count int Yes
peers Array of TopPeer Yes

Type: TopPeerCategoryPeers

Example:

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

PWRTelegram json-encoded version:

{"_": "topPeerCategoryPeers", "category": TopPeerCategory, "count": int, "peers": [TopPeer]}

Or, if you're into Lua:

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