MadelineProtoDocs/docs/API_docs/constructors/topPeerCategoryPeers.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

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

Constructor: topPeerCategoryPeers

Back to constructors index

Top peer category peers

Attributes:

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

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