MadelineProto/docs/API_docs/constructors/topPeerCategoryPeers.md

800 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], ];

Or, if you're into Lua:

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