MadelineProtoDocs/docs/API_docs/constructors/topPeerCategoryPeers.md
2018-04-01 13:24:46 +02:00

970 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, 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}}