MadelineProtoDocs/old_docs/API_docs_v21/constructors/popularContact.md

40 lines
772 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02: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 |
|----------|---------------|----------|-------------|
|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}
```