1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 11:39:37 +01:00
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}, }