2019-03-08 13:49:23 +01:00
|
|
|
---
|
|
|
|
title: topPeerCategoryPeers
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Top peer category
|
2019-03-08 13:49:23 +01:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: topPeerCategoryPeers
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Top peer category
|
2019-03-08 13:49:23 +01:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|category|[TopPeerCategory](../types/TopPeerCategory.md) | Yes|Top peer category of peers|
|
|
|
|
|count|[int](../types/int.md) | Yes|Count of peers|
|
2019-03-08 13:49:23 +01:00
|
|
|
|peers|Array of [TopPeer](../types/TopPeer.md) | Yes|Peers|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer, TopPeer]];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
topPeerCategoryPeers={_='topPeerCategoryPeers', category=TopPeerCategory, count=int, peers={TopPeer}}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|