MadelineProto/old_docs/API_docs_v55/constructors/contacts_topPeers.md

29 lines
683 B
Markdown
Raw Normal View History

---
2017-01-19 23:02:27 +01:00
title: contacts.topPeers
description: contacts_topPeers attributes, type and example
---
2017-01-19 23:02:27 +01:00
## Constructor: contacts.topPeers
[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|
### 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], ];
```