2019-03-08 13:49:23 +01:00
|
|
|
---
|
|
|
|
title: popularContact
|
|
|
|
description: Popular contact
|
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: popularContact
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Popular contact
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|client\_id|[long](../types/long.md) | Yes|Contact identifier|
|
|
|
|
|importers|[int](../types/int.md) | Yes|How many people imported this contact|
|
2019-03-08 13:49:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [PopularContact](../types/PopularContact.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
popularContact={_='popularContact', client_id=long, importers=int}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|