mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-04 09:07:47 +01:00
29 lines
683 B
Markdown
29 lines
683 B
Markdown
|
---
|
||
|
title: contacts.topPeers
|
||
|
description: contacts_topPeers attributes, type and example
|
||
|
---
|
||
|
## 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:
|
||
|
|
||
|
```
|
||
|
$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ];
|
||
|
```
|
||
|
|