MadelineProto/docs/API_docs/constructors/contacts_topPeers.md

29 lines
683 B
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
2017-01-19 23:02:27 +01:00
title: contacts.topPeers
2016-12-20 13:32:11 +01:00
description: contacts_topPeers attributes, type and example
2016-12-20 13:15:22 +01:00
---
2017-01-19 23:02:27 +01:00
## Constructor: contacts.topPeers
2016-12-20 13:15:22 +01:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Required|
|chats|Array of [Chat](../types/Chat.md) | Required|
|users|Array of [User](../types/User.md) | Required|
2016-12-19 18:56:05 +01:00
### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md)
### Example:
```
2017-01-19 23:02:27 +01:00
$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ];
```