MadelineProto/docs/API_docs/constructors/topPeerCategoryPeers.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}}