MadelineProtoDocs/old_docs/API_docs_v34/constructors/popularContact.md
2020-06-16 17:50:25 +02:00

40 lines
772 B
Markdown

---
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 |
|----------|---------------|----------|-------------|
|client\_id|[long](../types/long.md) | Yes|Contact identifier|
|importers|[int](../types/int.md) | Yes|How many people imported this contact|
### 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}
```