1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 15:07:21 +01:00
MadelineProto/docs/API_docs/constructors/contacts_topPeers.md

29 lines
684 B
Markdown
Raw Normal View History

2016-12-20 13:15:22 +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
---
## 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:
```
2016-12-30 21:21:36 +01:00
$contacts_topPeers = ['_' => 'contacts_topPeers', 'categories' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ];
```